Update QUERIES.md

Removed the having stuff, added examples for top