8
I need to get a record from a table, where this record is what in date terms was last entered.
Gender:
SELECT Ped.Quantidade
FROM ped
WHERE data <= @data
But since I have several records it returns to me all, when I just want the last one entered by date.
Friend, what would be the DBMS? Mysql, Postgre, MS Sql?
– Reiksiel
Good is SQL SERVER !
– user6018