Postgresql получить последние 10 записей
SELECT * from <table_name> order by "Date" DESC LIMIT 10;
Wide-eyed Wombat
SELECT * from <table_name> order by "Date" DESC LIMIT 10;
select last_value("name") over(order by created_at desc) as name from profile