select * from news where npic is not null and npic <> '' order by ndate desc
解决方案 »
- 一个小Sql字符串
- 字符串筛选 和 select top
- 简单的sql查询最小值的问题
- case when如何用嵌套啊
- 有没有办法用asp向ms_sql数据库添加表和字段
- 高分告急:SQL Server 2005 怎样建库可以让 备份或者其它方式 在 SQL Server 2000 内恢复并使用
- 一个简单的金额/币种的复杂运算,请指教...
- 我的数据库怎么都打不开了?请高手指点
- 如何跨平台使用sybase数据库
- 求一条SQL语句
- 高分求解,请进!!expression 转换为数据类型 int 时出现算术溢出错误
- 用某个条件查询后 怎么获得某列字段的名称,要求此列至少一个值不为null,全部为null的列不要
select * from news where npic is not null and npic<>''