“PSQL Obtenha as últimas linhas” Respostas de código

PostgreSQL Obtenha os últimos 10 registros

SELECT * from <table_name> order by "Date" DESC LIMIT 10;
Wide-eyed Wombat

PSQL Obtenha as últimas linhas

# 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>;
RicarHincapie

Postgres obtenha o último valor

select last_value("name") over(order by created_at desc) as name from profile
Restu Wahyu Saputra

Respostas semelhantes a “PSQL Obtenha as últimas linhas”

Perguntas semelhantes a “PSQL Obtenha as últimas linhas”

Mais respostas relacionadas para “PSQL Obtenha as últimas linhas” em Sql

Procure respostas de código populares por idioma

Procurar outros idiomas de código