56,679
社区成员
发帖
与我相关
我的任务
分享
select a.id
from tb a right join tb b on a.id=b.id
create table table_a(id int)
insert table_a(id) values(1)
insert table_a(id) values(2)
insert table_a(id) values(3)
create table table_b(id int)
select a.id from table_a a, table_b b where a.id*=b.id