我正在尝试将来自不同架构的两个表连接到一个表中......这是我的查询。我不断收到错误消息,说它缺少右括号。谁能帮我解决这个问题?我已经尝试了我能想到的所有可能的解决方案。我不相信它缺少一个,但它不会起作用。这是我的查询:
create view customers_g2 as
select (
(schema1.INTX.CUST_ID,
schema1.INTX.CUST_NAME,
schema1.INTX.CUST_GENDER,
schema1.INTX.CUST_STATE,
schema1.INTX.COUNTRY_ID)
Join
select (KWEKU.KM_CUSTOMERS_EXT.CUST_ID,
schema2.EXT.CUST_AGE,
schema2.EXT.CUST_EDUCATION,
schema2.EXT.MARRIED,
schema2.EXT.NO_OF_CHILDREN,
schema2.EXT.RACE,
schema2.EXT.INCOME,
schema2.EXT.CHECKING_BAL,
schema2.EXT.SAVINGS_BAL,
schema2.EXT.ASSETS,
schema2.EXT.HOUSES)
from schema1.INTX,schema2.EXT
where schema1.INTX.CUST_ID = schema2.EXT.CUST_ID);