DateTrunc месяц SQL
SELECT EXTRACT(MONTH FROM '2018-08-01')
SELECT EXTRACT(MONTH FROM date)
Angry Aardvark
SELECT EXTRACT(MONTH FROM '2018-08-01')
SELECT EXTRACT(MONTH FROM date)