Últimos 6 meses após o Gresql
CURRENT_DATE - INTERVAL '6 months'
Excited Elk
CURRENT_DATE - INTERVAL '6 months'
SELECT * from table where date > CURRENT_DATE - INTERVAL '3 months'