MySQL Forums
Forum List  »  Newbie

Re: Selecting from multiple tables
Posted by: Chrys Bader
Date: August 15, 2005 09:53AM

Actually, that query works.

The problem is, in the case where uk.label_id is blank, I don't want it to return an empty set (because it doesn't match an id in the labels table). Is there any way to do some sort of logic in the MySQL query, like if(uk.label_id) do this?

Thanks again

Options: ReplyQuote


Subject
Written By
Posted
Re: Selecting from multiple tables
August 15, 2005 09:53AM


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.