当前位置: 代码迷 >> Oracle管理 >> 怎么在一个表中查询不为空的列,select * from 表名 where 列名 is not null 这个如何查不出来,多谢各位大侠
  详细解决方案

怎么在一个表中查询不为空的列,select * from 表名 where 列名 is not null 这个如何查不出来,多谢各位大侠

热度:403   发布时间:2016-04-24 05:32:35.0
如何在一个表中查询不为空的列,select * from 表名 where 列名 is not null 这个怎么查不出来,谢谢各位大侠
如何在一个表中查询不为空的列,select * from 表名 where 列名 is not null 这个怎么查不出来,谢谢各位大侠

------解决方案--------------------
select * from 表名 where 列名 is not null
查出的是该列不为空的N行数据
至于你说的想用 select * 查出不为空的'列',我想是无法实现的
------解决方案--------------------
引用楼主 aoxueyingyang1 的帖子:
如何在一个表中查询不为空的列,select * from 表名 where 列名 is not null 这个怎么查不出来,谢谢各位大侠
  相关解决方案