MySQL 5 left join unknown column

Posted by NP on Stack Overflow See other posts from Stack Overflow or by NP
Published on 2010-05-12T16:19:19Z Indexed on 2010/05/12 16:24 UTC
Read the original article Hit count: 163

Filed under:
|

I had the below query working in mysql 4.1, but does not in 5.0:

SELECT * FROM email e, event_email ee 
LEFT JOIN member m on m.email=e.email 
WHERE ee.email_id = e.email_id

The error: 1054 (Unknown column 'e.email' in 'on clause')

© Stack Overflow or respective owner

Related posts about mysql

Related posts about left-join