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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.