Closed tomlinsonr closed 6 years ago
@tomlinsonr You need to have stream/table name without any prefix in the query.
Try this:
SELECT TA_1.CITY as CITY FROM USER_CLICKSTREAM TA_0 LEFT OUTER JOIN WEB_USERS TA_1 ON ( TA_0.CITY=TA_1.CITY );
I 100% should have tested that!!! Thanks. My bad. Works fine.
This query returns NULLS even though the data joined on is the same in both tables:
SELECT TA_1.
CITY
asCITY
FROMALL
.USER_CLICKSTREAM
TA_0 LEFT OUTER JOINclickstream_users
.WEB_USERS
TA_1 ON ( TA_0.CITY
=TA_1.CITY
);Also tested:
SELECT TA_1.
USERNAME
asUSERNAME
FROMALL
.USER_CLICKSTREAM
TA_0 LEFT OUTER JOINclickstream_users
.WEB_USERS
TA_1 ON ( TA_0.USERNAME
=TA_1.USERNAME
);