table_Aid a b c d table_B_id
tabel_Bid e f g
怎么查询的到table_A_id:这一行的able_B_id,的对应的tabel_B行 中e等于特定值。有点乱希望理解。
select * from table_A a join table_B b on a.table_B_id = b.id where b.e = xxx;
xxx为条件
确实有点乱,想帮你都帮不了