select xxx from a,b where instr(b.adno,a.adno) > 0
AFIC(AFIC) ,这样不行,只能选出两个adno完全一致的数据
AFIC(AFIC),可以了,刚才在plsql中执行没有生效,多谢!
5.INSTR(C1,C2,I,J) 在一个字符串中搜索指定的字符,返回发现指定的字符的位置; C1 被搜索的字符串 C2 希望搜索的字符串 I 搜索的开始位置,默认为1 J 出现的位置,默认为1create or replace view aaa as select * from a,b where instr(b.adno,a.adno) > 0
from a,b
where instr(b.adno,a.adno) > 0
在一个字符串中搜索指定的字符,返回发现指定的字符的位置;
C1 被搜索的字符串
C2 希望搜索的字符串
I 搜索的开始位置,默认为1
J 出现的位置,默认为1create or replace view aaa as
select * from a,b
where instr(b.adno,a.adno) > 0