URI 2995 Solution

URI 2995 - The Sensor Message


1
2
3
4
SELECT temperature, COUNT(mark) AS number_of_records
FROM records
GROUP BY temperature, mark 
ORDER BY mark;

Comments

  1. why we need to group by temperature also? every mark with same value has temperature of a certain value, right?

    ReplyDelete

Post a Comment

Popular posts from this blog

URI 2994 Solution

URI 2996 Solution