SELECT xueli FROM `t_job` WHERE LENGTH( TRIM(xueli) ) <> 0 AND xueli IS NOT NULL GROUP BY xueli 这样就过虑了学历空的字符串。 在mybais xml文件中。应该使用下面的写法。 转义<> SELECT xueli FROM `t_job` WHERE LENGTH( TRIM(xueli) ) <> 0 AND xueli IS NOT NULL GROUP BY xueli
IS NOT NULL IS NULL SELECT drawing_id FROM `t_chuku` WHERE ru_ku_id = 67 AND drawing_id IS NOT NULL GROUP BY drawing_id SELECT drawing_id FROM `t_chuku` WHERE ru_ku_id = 67 AND drawing_id IS NULL GROUP BY drawing_id
站长微信:xiaomao0055
站长QQ:14496453