Hello,
I'm attempting to perform a correlated subquery using an inequality as shown in the below example.
SELECT
a."Opportunity ID",
a."Owner ID",
a."Created Date",
a."Close Date",
a."Snapshot Date",
a."Last Modified Date",
a."Next Step",
a."Competitor",
a."Amount",
a."Stage",
(SELECT
COUNT("Opportunity ID")
FROM "pushes"
WHERE a."Opportunity ID" = pushes."Opportunity ID" AND
pushes."Change Date" <= a."Snapshot Date") AS "Push Count"
FROM "pipeline_snapshots_min_cols" "a"
Unfortunately this is not supported in Adrenaline dataflows. I need to use Adrenaline though because the dataset has ~ 80 million rows and other methods take too long to process. Does anyone know of a different way that I could achieve the same results?
Thanks!