Added per day query