MySQL Forums
Forum List  »  Newbie

Re: error code 1241, operand should contain 1 column(s)
Posted by: laptop alias
Date: January 13, 2013 10:46AM

That seems fairly self-explanatory!

Use horsedb;
Select horse_id, Name from Horse
Where horse_id in (Select horse_id From entry where place <=3 having count(*) > 1)

(Although you haven't set out the basis for your aggregation)



Edited 1 time(s). Last edit at 01/13/2013 10:47AM by laptop alias.

Options: ReplyQuote


Subject
Written By
Posted
Re: error code 1241, operand should contain 1 column(s)
January 13, 2013 10:46AM


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.