MySQL Forums
Forum List  »  Microsoft Access

Query transform / pivot
Posted by: Galilea sanchez
Date: May 03, 2020 12:15AM

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!

Options: ReplyQuote


Subject
Views
Written By
Posted
Query transform / pivot
186
May 03, 2020 12:15AM
103
May 03, 2020 04:14PM
103
May 03, 2020 05:49PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.