select "timeline".year_nb AS "timeline_year_nb", "timeline".month_nb AS "timeline_month_nb", "timeline".month_name AS "timeline_month_name", SUM(ROUND(orderfact.totalprice/1000,1)) AS "orderfact_totalprice/1000" from PUBLIC.orderfact "orderfact", PUBLIC.products "products", PUBLIC.timeline "timeline" where "orderfact".productcode="products".productcode AND "orderfact".time_id="timeline".id AND "products".productline='Classic Cars' AND  ("timeline".id <= NOW()) group by "timeline".year_nb, "timeline".month_nb, "timeline".month_name order by "orderfact_totalprice/1000", "timeline_year_nb", "timeline_month_nb", "timeline_month_name"