MySQL Forums
Forum List  »  Newbie

Re: not understanding why 1 is not found?
Posted by: Rick James
Date: June 13, 2015 05:26PM

(unrelated)
> DISTINCT(s.ID),s.DENOMINATION,s.DESCRIPTION,...
is not what you think. It is the same as
DISTINCT s.ID,s.DENOMINATION,s.DESCRIPTION,...

Remove DISTINCT and add GROUP BY s.ID -- this _might_ be closer to what you wanted.

Perhaps the table has " 1" or "1 "?

Options: ReplyQuote


Subject
Written By
Posted
Re: not understanding why 1 is not found?
June 13, 2015 05:26PM


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.