Quantcast
Channel: MySQL Forums - Microsoft Access
Viewing all articles
Browse latest Browse all 487

Query transform / pivot (2 replies)

$
0
0
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 all articles
Browse latest Browse all 487

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>