Answers for "extract day postgresql"

SQL
5

postgresql get year

select extract(year from your_column) from your_table;
Posted by: Guest on May-26-2020
0

postgres extract day from date

SELECT EXTRACT(DAY FROM TIMESTAMP '2016-12-31 13:30:15');Code language: PostgreSQL SQL dialect and PL/pgSQL (pgsql)
Posted by: Guest on May-26-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language