Posts by Saulo • 13 points
1 post
-
0
votes1
answer20
viewsQ: SQL to group records
I made the query below to load the records with the highest date of exit (a same record may have several dates): SELECT RA, MAX(Data_Out) AS Data_Saida, Placa FROM dbo.RA_Vehicles GROUP BY RA, Placa…