select - Mysql - Is there a better way to retrieve data from two tables with the same id? -
hi have following mysql code works wondering if there better, shorter, more efficient way of doing it?
select images.*, posts.* mjbox_images images, mjbox_posts posts images.post_id = 3 , posts.post_id = 3
select * mjbox_images join mjbox_posts using (post_id) post_id = 3
Comments
Post a Comment