DssTrainer Posted October 9, 2008 Share Posted October 9, 2008 If i have a select like : select o.name, o.id, ov.name, i.user from order o, order_value ov, ident i.. and lets say that i.user doesn't exist. Is there any way I can just tell select to ignore that field and return the rest? Link to comment https://forums.phpfreaks.com/topic/127653-anyway-to-ignore-missing-columns/ Share on other sites More sharing options...
fenway Posted October 11, 2008 Share Posted October 11, 2008 Sure you can... use LEFT JOIN. Link to comment https://forums.phpfreaks.com/topic/127653-anyway-to-ignore-missing-columns/#findComment-662872 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.