Can someone tell me why the following code wont work? I think it's pretty self explonatory so no need try explain what I want to do. (ask if need)
Code:SELECT * FROM messages AS msg CASE msg.app_type WHEN 'study_abroad' THEN LEFT JOIN apps_study_abroad ON msg.application_id=apps_study_abroad.id WHEN 'study_in_china' THEN LEFT JOIN apps_study_in_china ON msg.application_id=apps_study_in_china.id END CASE


Reply With Quote
