版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/flightsmallbird/article/details/73898304
1.非空查询。oracle中没有!=,is null 和 is not null 是必须的。
select BIANZH,CBNY,DJ,ISBN,SM from T_KCSM where SM is not null and ISBN is not null ;
2.普通查询。
select * from T_KCSM where NAME=‘张三’ ;
3.查询数据总条数
select * from T_KCSM ;