Revert "Query for Summarizing Data"

This reverts commit 05ef2e3afa556aa450d76e2a1cd33b5c5d7a171b.