Jump to content

SQL Group BY Error


houssam_ballout

Recommended Posts

How could I solve it ?
Well, that depends on what you actually want the query to do! :) What data do you want it to return? A count, a set of rows, or what? Perhaps if you could give an example of some data you'd like to see returned from your query, we can suggest the right fix.
Link to comment
Share on other sites

  • 2 weeks later...

I can suggest something already:Using such function as COUNT, will return a single value, and selecting various columns will result in a set of rows (much more complex than just a value). If you want both returned, eg. a value and a set of rows, you should separate them in two SELECT queries :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...