結果 : sql pivot two aggregates