select*
from table
where item_no not like '97.%'
and item_no not like '55.%'
and item_no not like '52.%'怎莫把这三个where条件合并?
from table
where item_no not like '97.%'
and item_no not like '55.%'
and item_no not like '52.%'怎莫把这三个where条件合并?
解决方案 »
- oracle 中command命令下查询表数据
- 如何优化这句SQL?执行相当慢,,,
- plsql 中关于不等于号的问题
- 如何知道哪一个机器占用oracle的资源比较多呢??
- 求一SQL语句,在线等~~~
- 高分求表内消重统计,运算的sql语句(内容内详,高手请进)!!!
- 在PB里如核调用一个返回数据集的存储过程,能给出代码吗
- Window2000 server版上,是否可以同时安装Oracle8.05与Oracle9.i不同版本的数据库
- ORACLE 字段类型问题? 100分
- 宝贝女儿出生!!(散分)
- 高薪急聘报表开发工程师
- 在plsql中能否实现取本地的网卡mac地址或者是硬盘序列号?或者能否在 plsql中直接调用dos命令ipconfig/all
where not exist(item_no like '97.%'
and item_no like '55.%'
and item_no like '52.%');
或
where not exist(int(to_number(item_no like)) in (97,55,52));
//基于数字的比较比基于字符的比较效率高
忘了句号了