3 个解决方案
#1
union all 吧
#2
select ID,Name from taba where Name like'王%'
union all
select ID,Name from tabb where Name like'王%'
union all
select ID,Name from tabc where Name like'王%'
#3
用union 、妥妥的
#1
union all 吧
#2
select ID,Name from taba where Name like'王%'
union all
select ID,Name from tabb where Name like'王%'
union all
select ID,Name from tabc where Name like'王%'
#3
用union 、妥妥的