Posts by cvhg • 15 points
2 posts
-
0
votes1
answer336
viewsQ: Return last entry of each object in the database
I have two tables: monitor_carro id serial | setor_id | modelo | ano | placa monitor_evento id serial | lat | long | data | fkfuncionario_id | time | carro The monitor_event table has only one…
-
1
votes3
answers354
viewsQ: Return the last entry of different Postgresql objects
Supposing I have two tables: Car containing: plate, year, ect.. Event containing: car, lat, long, date, time, etc.. How could I return only the last entry of each car in the event table?…