0
我在進行內部連接時引用兩列時遇到了問題。我嘗試了以下組合無濟於事。內部連接參考
SELECT
*
FROM
adwords_final
INNER JOIN mk_kw ON adwords_final.Key = mk_kw.Key;
SELECT
*
FROM
adwords_final
INNER JOIN mk_kw ON "adwords_final.Key" = "mk_kw.Key";
導致以下或類似情況。
ERROR: column adwords_final.key does not exist
LINE 5: INNER JOIN mk_kw ON adwords_final.Key = mk_kw.Key;
^
HINT: Perhaps you meant to reference the column "adwords_final.Key".
********** Error **********
ERROR: column adwords_final.key does not exist
SQL state: 42703
Hint: Perhaps you meant to reference the column "adwords_final.Key".
Character: 49
在我看來,我失去了一些更明顯的東西。我是否需要進一步參考後者或完全創建新的查詢?
謝謝
adwords in adwords final; mk_kw