2013-08-06 107 views

回答

0

您只选择COUNTRY_NAME,但不是在你的子查询的COUNTRY_CODE,这就是为什么你不能在以后使用

1

此子查询:

(select b.country_name from mydatabase.country_codes as a left join mydatabase.countries as b 
on a.country_code = b.country_code 
where b.language_code = 'EN') as c 

不给我们所需的c.country_code,所以将其添加到该查询