use single query to get all dataset layer data