BigQuery JOIN on two tables

后端 未结 1 864
无人及你
无人及你 2021-02-15 14:27

I\'m trying to run the following query but keep on encountering the same error

Query Failed Error: Encountered \"\" at line 6, column 33. Was expecting

相关标签:
1条回答
  • 2021-02-15 15:09

    You should use a table alias. Try

    SELECT member_group.User_Group, 
    member_group.Member_ID, 
    member_tran_year.MEMBER_UID 
    FROM [Dataset1.1_0_MEMBER_GROUP] as member_group
    JOIN [Dataset1.1_4_MEMBER_TRAN_YEAR] as member_tran_year
    ON member_group.Member_ID = member_tran_year.MEMBER_UID
    
    0 讨论(0)
提交回复
热议问题