When you work daily in a data warehouse environment, you will inevitably compare or filter or summarize data for further analysis or debugging. The result set shown in MySQL Toad 4.5 has couple of very nice features that will help you compare or filter the results quickly - right in the "Results" pane. In the picture below I was calculating Herfindahl Index for a group of AdWords accounts. The query resulted in date, some daily metric and its index; and if I am further interested in filtering for specific range of index, for example, I can point the mouse at Herfindahl_Index column and click on "filter" icon. See below.
Also, by comparing the data between two result sets, the data comparison feature avoids bringing data to Excel or running sub-queries. For example, I modified the original query and ran it again and wanted to quickly see for any difference in numbers between two results sets at date level, which I could by just doing the data comparison between result 7 & 8 below. I know I have couple of ways of comparing the data as noted above, but being able to compare in Result set pane was the quickest - didn't need to modify the query nor move the data.
Finally, you can use Pivot & Chart by dragging and dropping the columns to the grid area. For small data sets this is handy.
Hope that helps,
Shiva
No comments:
Post a Comment