added a quick summary sql statement