postgresql query where date code example
Example 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);
Example 2: postgre query date
SELECT * FROM data WHERE date = '2020-12-21'