select * from A where id in(select id from B) 结论:in()适合B表比A表数据小的情况select a.* from A a where exists(select 1 from B b where a.id=b.id) EXISTS用 ...
確定! 回上一頁