MySQL Forums
Forum List  »  Other Migration

Re: MySQL 4 to MySQL 5 - SQL syntax question.
Posted by: Inder Singh
Date: February 19, 2008 01:43AM

SELECT i.cat_id, i.image_name, i.image_media_file, i.image_thumb_file, c.cat_name, u.user_name
FROM IMAGES_TABLE i
INNER JOIN CATEGORIES_TABLE c ON i.cat_id=c.cat_id
LEFT JOIN USERS_TABLE u ON u.user_id = i.user_id AND i.image_id = 5

Options: ReplyQuote


Subject
Views
Written By
Posted
11048
September 08, 2006 07:46AM
Re: MySQL 4 to MySQL 5 - SQL syntax question.
3880
February 19, 2008 01:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.