Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从table1 中获取application_id,其中genre_id = 123 和来自table2 的language_code = EN。
表格格式:
表格1 :
export_date 流派_id application_id
表 2:
export_date application_id language_code
试试这个
SELECT Table1.application_id FROM Table1 INNER JOIN Table2 ON Table2.application_id = Table1.application_id WHERE Table1.genre_id = 123 AND Table2.language_code = 'EN'