Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql where datetrunc month and year equal

... WHERE date_trunc('month', b.col) = date_trunc('month', a.col);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgresql #datetrunc #month #year #equal
ADD COMMENT
Topic
Name
1+2 =