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
647
May 03, 2020 12:15AM
437
May 03, 2020 04:14PM
377
May 03, 2020 05:49PM


Sorry, you can't reply to this topic. It has been closed.

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.