A表有一数据列数据Aa B表有一列数据Ba 筛选条件是如果Aa的某个值在Ba中存在 那么取出来。不知道怎么写 求大神提拔?
可以使用子查询select Aa from A where Aa in (select Ba from B)