sql语句真强大,他有好多函数,如group by 、sum、case when、decode、sum if 、from后面跟数据集等
没有一条sql语句(可能非常大)解决不了的问题,压根没必要用程序去做数据查询。