Answers for "postgresql datetime to date"

SQL
3

postgresql today - 1 year

select now() - INTERVAL '1 YEAR';
Posted by: Guest on September-18-2020
1

postgresql get date from datetime

SELECT DATE(column_name) FROM table_name;
Posted by: Guest on December-07-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language