How to retrieve the rows (with maximum value in a field) having a another common field ?
- by Ashraf Bashir
I have a table; let it be called table1; with the following fields and data
I need a query that returns the record with the maximum value in Field3 for each group of records having the same value in Field2. So that the query returns:
How could this be done using SQL queries ?