Answers for "postgres date"

SQL
1

psql datetime grather than

SELECT *
FROM table
WHERE update_date >= '2013-05-03'::date
AND update_date < ('2013-05-03'::date + '1 day'::interval);
Posted by: Guest on June-25-2020
1

ilike for date postgres

column::text LIKE '2011-01-%'
Posted by: Guest on June-08-2020
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
1

postgre query date

SELECT * FROM data WHERE date = '2020-12-21'
Posted by: Guest on September-15-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language