Hive Queries for DataViz