sql的模糊查询 有两张表A和B,A中的字段aa值为‘123456China’,B中的字段bb值为‘123456’,我现在想在A中查询出aa的前六位等于B表中bb字段的值,能可以实现吗?????有高手可以帮帮我不???? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from A where exists (select 1 from B where B.bb=substr(A.aa,1,6)); select * from a where exists (select 1 from b where substr(a.aa, 1, 6)=b.bb) desc的问题 SQL语句未能正确结束 ORA-04079: 无效的触发器说明(急) 多表查询问题(谢谢先) oracle嵌套查询的问题 急!用union连接后的多表查询的问题? 数据库备份和恢复中出现的问题,请大家帮忙分析问题并给出解决办法! 请问! !!!急,请高手指点! 在P4的机器上怎么装Oracle8.1.7 ORA-12547:Message 12547 not found;product=RDBMS;facility=ORA sqlplus设置autotrace的信息是从哪获得的?
select * from A where exists (select 1 from B where B.bb=substr(A.aa,1,6));