mysql判断字段不等于空

mysql判断字段不等于空  LENGTH(mobile)>0

 

或者 xx is not null


 

 

SELECT id,mobile FROM ziliao WHERE LENGTH(mobile)>0 


 

posted @ 2010-03-22 10:21  derrck  阅读(11226)  评论(0编辑  收藏  举报