Answers for "psql get last record"

SQL
0

postgresql get last 10 records

SELECT * from <table_name> order by "Date" DESC LIMIT 10;
Posted by: Guest on September-07-2021
-1

postgres get last value

select last_value("name") over(order by created_at desc) as name from profile
Posted by: Guest on April-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language