Hi.
I’m forming a complex query and wish to use the following as the start point:
WITH SELECTED AS (
Select “Amount” as AMOUNT, MONTH(“Date”) * 100 + DAY(“Date”) as MODY, YEAR(“Date”) * 100 + MONTH(“Date”) as YRMO
FROM “Tbl-Donations” where “Date” IS NOT NULL ORDER BY “Date”)
SELECT * FROM SELECTED
After many frustrating days and nights I’m unable to find anything anywhere to help me.
Please advise.
Thanks