postgres select date greater than 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: ilike for date postgres
column::text LIKE '2011-01-%'