data query to fetch all the running orders