0

我想从table1 中获取application_id,其中genre_id = 123 和来自table2 的language_code = EN。

表格格式:

表格1 :

export_date
流派_id
application_id

表 2:

export_date
application_id
language_code

4

1 回答 1

0

试试这个

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'
于 2012-05-17T18:30:28.050 回答