oracle 问题 这样取出的是id、name都是1或都是2的记录,楼主想要什么? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table where (id='1' and name='2') or (id='2' and name='3') or ....or (id='n' and name='m')1,2 只是数据而已 你可以这样,select * from table where id || name in ('12','23',...,'nm') 我的一组(id,name)的条件要同时满足的 就是同时满足啊。我是把id和name拼在一起了,那样当然同时满足了 select * from table where id=1 and name='1'union select * from table where id=2 and name='2' and 是有用的,可能是你的id和name都是字符型的吗? to xjqqxjqq(JAI) :我的条件(id='xxx' and name='xxxx') 是不知道多少的.所以用UNION 很麻烦的 请帮忙解惑:ORA-02020 too many database links in use 请教SQL语句 (急)ORACLE触发器的问题 在线急等!Oracle触发器! 求助:sql*plus能够访问数据库,但是em页面无法打开? 这样的sql语句如何写 新人请教如何设置,让用户只能看到只属于自己的Table!谢谢关注. 在线等!!各位DX帮忙,ORACLE 9I的简单问题 如何通过代理服务器访问oracle数据库 如何查看mview是基于rowid还是主键 如何对现有的表进行分区改造? ORACLE10g安装时如何选字符集?如果安装完毕如何改字符集(即将UTF8改为ZHS16GBK)?
(id='n' and name='m')
1,2 只是数据而已
select * from table where id || name in ('12','23',...,'nm')
union
select * from table where id=2 and name='2'
我的条件(id='xxx' and name='xxxx') 是不知道多少的.所以用UNION 很麻烦的