PostgreSQL Otrzymuj ostatnie 10 rekordów
SELECT * from <table_name> order by "Date" DESC LIMIT 10;
Wide-eyed Wombat
SELECT * from <table_name> order by "Date" DESC LIMIT 10;
# ctid represents the physical location when you don't have an ID or a DATE
SELECT * from <table_name> ORDER BY ctid DESC LIMIT <limit>;
select last_value("name") over(order by created_at desc) as name from profile