Answers for "postgresql how use date"

SQL
1

postgresql get date from datetime

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

create a date list in postgresql

select i::date from generate_series('2012-06-29', 
  '2012-07-03', '1 day'::interval) i
Posted by: Guest on November-04-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language