1-- Find all occurrences from the last 24 hours
2select 3o.id, 4o.created_at, 5o.description, 6o.occurrence_category, 7o.occurrence_subcategory, 8o.occurrence_location, 9o.reference_point10frompublic.occurrenceaso11whereo.created_at>=(now()-'1 day'::interval);