MySQL Forums
Forum List  »  Other Migration

Re: MySQL 4 to MySQL 5 - SQL syntax question.
Posted by: Lord ExoskeletoN
Date: September 11, 2006 02:00AM

You make me smile Matt..when you say "I hate to be the guy who responds to his own post"...just like what happens to me...but hows ur problem goin..did it work already?

Matthew Good Wrote:
-------------------------------------------------------
> I hate to be the guy who responds to his own post
> - but I think I solved the problem... However I'd
> like someone to confirm this for me.
>
> I've rewritten the above query to:
>
> 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 CROSS JOIN CATEGORIES_TABLE c
> LEFT JOIN USERS_TABLE u ON u.user_id = i.user_id
> WHERE i.image_id = 5
>
> I believe this is functionally equivalent and will
> run on MySQL 5, but I'm not as confident in this
> as I'd like to be, since I'm not very familiar
> with the original app. I would really appreciate
> it if someone would confirm (or deny) that this
> new SQL does the same thing as the old stuff.
> Thanks again.
>
> -Matthew Good

Options: ReplyQuote


Subject
Views
Written By
Posted
11044
September 08, 2006 07:46AM
Re: MySQL 4 to MySQL 5 - SQL syntax question.
6642
September 11, 2006 02:00AM


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.