17,082
社区成员
发帖
与我相关
我的任务
分享
select "A" as table,id,content from A where content like '123%' union select "B" as table,id,content from B where content like '123%'
select "A" as tab,id content from A where content like '%123%'
union all
select "B" as tab,id content from B where content like '%123%'
select ta tab,id,content from tableA ta where content like '123%' union
select tb tab,id,content from tableB tb where content like '123%';