Answers for "postgres get difference of month"

SQL
0

Postgresql get diff between two dates in Months

EXTRACT(year FROM age(end_date,start_date))*12 + EXTRACT(month FROM age(end_date,start_date))
Posted by: Guest on October-19-2021
0

postgresql between month

WHERE date >= DATE '2012-01-01' 
  AND date < DATE '2013-05-01'      --- first date of the next month
Posted by: Guest on October-08-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language