条件写错了
select * from table
where a=1 and b in (1,2,3)
select * from table
where a=1 and b in (1,2,3)
解决方案 »
- 求教一个函数~
- 关于apex(application express)工具
- linux as4.0下利用cron实现oracle定时备份问题!!!-高手们帮帮忙啊!
- 关于oracle里的sql语句问题???
- LinuxAS3下安装Oracle9204遇到的问题,雪地跪求高手!
- 如何复制大量记录,只是主键编码改一下,其中某一个字段也相应改编
- 如何设置SEMMSL_value、SEMMNS_value、SEMOPM_value、SEMMNI_value?
- Oracle 数据库应用变慢怎么解决!!!急!!!
- 按时间循环插入数据
- sql2005通过链接服务器访问Orcle,查询表中文显示乱码
- 高手们请帮帮忙!!!
- 求一SQL语句。高分相送
where a=1 and (b=1 or b=2 or b=3)
或者
select * from table
where a=1 and b in (1 , 2 ,3)
from table
where a = 1
and ( b = 1 or b = 2 or b = 3 )
也可以
where a=1 and b in (1,2,3)2。 select * from table
where a=1 and (b =1 or b=2 or b=3)