I gave you the sketch of the SQL statement, not the actual full command.
Please flesh it out yourself - it's pretty straight forward.
Just put your previous query into the FROM clause and add the SELECT and GROUP BY clauses again. That's it.
I gave you the sketch of the SQL statement, not the actual full command.
Please flesh it out yourself - it's pretty straight forward.
Just put your previous query into the FROM clause and add the SELECT and GROUP BY clauses again. That's it.