0

之后是否可以多次运行内部连接from?就像是:

select *  from (select * from A join B) T1 join (select * from C join D) T2

这是我收到错误的查询:

select * 
from ((select mf_user_email from mt_install where mf_token='iPfIefqc7IvEwq1QzoRlwnud4mOP3ATW') T1
inner join mt_interest) T2 
inner join 
(select * from mt_event_type inner join mt_event_type_name where event_type_name.mf_event_lang='he') T3 

我收到此错误:

Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'T2 join select * from mt_event_type inner join mt_event_type_name where mt_event' at line 1
4

1 回答 1

0
select * 
from (select mf_user_email 
      from mt_install 
      where mf_token='iPfIefqc7IvEwq1QzoRlwnud4mOP3ATW') T1
inner join mt_interest T2 
inner join 
     (select * 
      from mt_event_type 
      inner join mt_event_type_name 
      where event_type_name.mf_event_lang='he') T3 
于 2013-11-13T16:31:16.517 回答