query done.
TODO:
1. sum the query result.
2. barChart.