|
Parameters Forms!PlanChasObject!0 DateTime, Forms!PlanChasObject!2 DateTime; TRANSFORM SUM(.) AS [Sum-] SELECT ., . FROM RIGHT JOIN ON . = . WHERE . BETWEEN Forms!PlanChasObject!0 AND Forms!PlanChasObject!2 GROUP BY ., . PIVOT .;
http://www.sql.ru/forum/1084995/itogi-v-perekrestnom-zaprose