金刚菩提手串好处:php 怎样取某一字段非空的记录?
来源:百度文库 编辑:高考问答 时间:2024/05/06 08:57:04
"select * from news where title<>NUll order by news_id desc limit 5"
我用上面的语句不行.把title<>NUll 改成title!=NULL ,title<>''
等都不行.请到底要怎样写?
谢谢
我用上面的语句不行.把title<>NUll 改成title!=NULL ,title<>''
等都不行.请到底要怎样写?
谢谢
"select * from news where title <> '' order by news_id desc limit 5"