I am in the process of removing all Access DB's from my companies use. For the most part this has entailed:
Connecting to source DB's, reading SQL from Access queries, converting (where needed), lather, rinse and repeat.
However sometimes I run across a series where they are equally parts baffling and mind puckering. The one I am running into a problem with now is an excessive use of Make Table to pull small-ish tables, and then join these tables into a larger single table.
I am perhaps missing the order of things here, I hope, and could use assistance on how this operations would be done in Alteryx workflow:
SELECT
[100_MT].[GN Number],
[100_MT].[Call Ltr - Band],
[100_MT].[Station Home Market Name],
[100_MT].[Total Number of Events],
RSI.STA_START_DATE AS [START in RSI],
PPM.START_DATE AS [START in SEMS],
[103_MT].TRANSITION_DATE AS [Transition Date in SEMS]
FROM
(
(100_MT
LEFT JOIN
PPM
ON [100_MT].[GN Number] = PPM.MEDIA_ENTITY_ID)
LEFT JOIN
103_MT
ON [100_MT].[GN Number] = [103_MT].MEDIA_ENTITY_ID
)
LEFT JOIN
RSI
ON [100_MT].[GN Number] = RSI.ST_STA_GNMBR
WHERE
(
(([100_MT].[Total Number of Events]) > 5)
AND
(
(RSI.STA_END_DATE) Is Null
)
)
;I've had to anonymize the schema and table names of course so I apologize if it is confusing. Mainly I have connections that include the SQL (already verified outputs) of the different make tables, I am looking for how the series of joins in Alteryx would translate from the above SQL
Regards