Hello everybody,
What is wrong with this query?
SELECT * FROM data_vault.hub_artikelnummer art
INNER JOIN (SELECT *
FROM data_vault.sat_artikel_1
WHERE hub_artikelnummer_sqn = art.sqn) aap ON sart1.load_datetime = aap.ldt AND art.sqn = 500
I am getting the following error:
Unknown column 'art.sqn' in 'where clause'
Thank you.
What is wrong with this query?
SELECT * FROM data_vault.hub_artikelnummer art
INNER JOIN (SELECT *
FROM data_vault.sat_artikel_1
WHERE hub_artikelnummer_sqn = art.sqn) aap ON sart1.load_datetime = aap.ldt AND art.sqn = 500
I am getting the following error:
Unknown column 'art.sqn' in 'where clause'
Thank you.