oracle的sql查询

来源:互联网 发布:知乐作品全集百度云 编辑:程序博客网 时间:2024/06/03 18:15

1.非空查询。oracle中没有!=,is null 和 is not null 是必须的。

select BIANZH,CBNY,DJ,ISBN,SMfrom T_KCSM where SMis not null and ISBN isnot null ;

2.普通查询。

select* from T_KCSMwhere NAME=‘张三’ ;

3.查询数据总条数

select*from T_KCSM;

原创粉丝点击