DssTrainer Posted October 9, 2008 Share Posted October 9, 2008 Is it possible to do something like : select * from table1 left join table2 .... ? Basically I always want to pull all fields from the first table and join either all or some on the second table by id. Quote Link to comment https://forums.phpfreaks.com/topic/127652-solved-select-and-join/ Share on other sites More sharing options...
DssTrainer Posted October 9, 2008 Author Share Posted October 9, 2008 hmm.. never mind I just found an example : select * from product p left join product_description pd on (p.product_id = pd.product_id) Quote Link to comment https://forums.phpfreaks.com/topic/127652-solved-select-and-join/#findComment-660604 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.