56,678
社区成员
发帖
与我相关
我的任务
分享
select 'db01' as db from db01.tableA where phone='010-1234 5678' union all
select 'db02' as db from db02.tableA where phone='010-1234 5678' union all
select 'db03' as db from db03.tableA where phone='010-1234 5678' union all
select 'db04' as db from db04.tableA where phone='010-1234 5678' union all
select 'db05' as db from db05.tableA where phone='010-1234 5678' union all
...
select 'db99' as db from db99.tableA where phone='010-1234 5678'