Skip to content
Advertisement

SQL – Group records together based on value

Currently I have a table with the following values:

I would like a resulting SELECT to return the below:

eg. The timestamp is grouped by a duplicate some_id

Is this possible with SQL?

Advertisement

Answer

This appears to be just a simple aggregation,

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement