Skip to content
Advertisement

How to get the row of a row set with the highest date in SQL?

SQL Query:

It outputs everything from Table1 but I only want the rows with ID 2 and 3. How can I get the row of the AnotherID 1 rows with the highest date? Only ID 2 and 3 should be output

Advertisement

Answer

You may try this.

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