0
加入三家外資表我有三個外國表(visits, parts, problemdescription
)有一個名爲公共列:「startDateTime
」在PostgreSQL
我想加入他們,所以我用下面的查詢:
select v."startDateTime", p.znumber, pd.remark FROM visits v
INNER JOIN parts p
on s."startDateTime"=p."startDateTime" INNER JOIN problemdescription pd
on s."startDateTime"=pd."startDateTime";
但我得到這個錯誤的postgres:
ERROR: missing FROM-clause entry for table "s"
歡迎來到Stackoverflow並恭喜你的答案:) – AlexanderMP