try:
create view v_name as
select * from tabl1,tabl2 
where table2.bigname like '%'||table1.smallname||'%';

解决方案 »

  1.   

    id列有重复列名,创建视图的时候需要分别命名create view view_name
    as
    select
      a.id id1,a.smallname,a.address,a.tel,b.id id2,b.bigname,b.money
    from
      table1 a,table2 b
    where table2.bigname like '%'||table1.smallname||'%';
      

  2.   

    create view view_name 
    as 
    (select tb1.id,tb1.smallName,tb1.address,tb1.tel,tb2.id,tb2.bigName,tb2.money
      from tb1,tb2
      where INSTR(tb1.smallName,tb2.bigName) <> 0)
      

  3.   

    create view view_name
    as
    select
      a.id id1,a.smallname,a.address,a.tel,b.id id2,b.bigname,b.money
    from
      table1 a,table2 b
    where table2.bigname like '%'||table1.smallname||'%';
      

  4.   

    to 楼主,好象这个问题你在SQL Server中也问了吧,怎么,你要两种数据库都要开发?