select "timeline".year_nb AS "timeline_year_nb", "products".productline AS "products_line", SUM("orderfact".quantityordered) AS "orderfact_quantityordered" from PUBLIC.customers "customers", PUBLIC.orderfact "orderfact", PUBLIC.products "products", PUBLIC.timeline "timeline" where "orderfact".customernumber="customers".customernumber AND "orderfact".productcode="products".productcode AND "orderfact".time_id="timeline".id AND "customers".country='Denmark' group by "timeline".year_nb, "products".productline order by "timeline_year_nb", "products_line", "orderfact_quantityordered"