I'm new to sql and currently learning on postgresql, so I'm trying a command that returns aggregate value by month
SELECT date_trunc('month',"BDATE") MTH,
COUNT("CUSTOMER_REQUEST_ID") DELIVERIES
FROM orders
GROUP BY MTH
but it returns (yyyy-mm-dd hh-mm-ss) but I need only (yyyy-mm) is there any function/code that would return that particular field?