MySQL Forums
Forum List  »  Newbie

Re: SELECT TOP 3 scores in each class with JOIN
Posted by: Peter Brawley
Date: October 04, 2016 01:19PM

> I still need to have the rest of the data.

Unclear.

> your query now excludes all the rest of the data.

My query? It's your query with a couple of necessary corrections and the join you asked for. What are you talking about?

> HOW DO I GET ROWS WHERE Awards.DSQ does not apply?

First, please don't shout, it helps nothing, and annoys. And didn't you say you'd got rid of uppercase in database object names?

Now, does "Where awards.dsq does not apply" mean something different from awards.dsq<>1?

> I only wanted to exclude Awards.DSQ = 1

Indeed, exactly what ...and a.dsq <> 1... says and does.

Options: ReplyQuote


Subject
Written By
Posted
Re: SELECT TOP 3 scores in each class with JOIN
October 04, 2016 01:19PM


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.