Quantcast
Viewing latest article 19
Browse Latest Browse All 487

Query transform / pivot (2 replies)

Hi, I'm new on this, I'm traying to do a Query that works in Access, but not in MySQL.. can anybody help?

This is my Query:

TRANSFORM Sum(Total) AS SumOfTotal
SELECT Client, Sum(Total) AS Sum_Total
FROM Remission
WHERE (((Year(DatePay))=2020) AND ((Month(DatePay))=1))
GROUP BY Client, DatePay
PIVOT DatePay;

Thanks in advance!

Viewing latest article 19
Browse Latest Browse All 487

Trending Articles