select "orderfact".status AS "orderfact_status", "customers".country AS "customers_country", COUNT("orderfact".ordernumber) AS "orderfact_ordernumber" from customers "customers", orderfact "orderfact", timeline "timeline" where "orderfact".customernumber="customers".customernumber AND "orderfact".time_id="timeline".id AND "timeline".year_nb=2015 AND  ("timeline".id <= NOW()) group by "orderfact".status, "customers".country order by "orderfact_status", "customers_country", "orderfact_ordernumber"