您的位置:首页 > 博客中心 > 数据库 >

DB2 syntax error

时间:2022-03-14 02:01

Error infomation:  An unexpected token "JOIN" was found following "". Expected tokens may include: "FROM".. SQLcode=-104, SQLSTATE=42601, DRIVER=4.17.30  

SQL statement:

Select * from a left join

                    (b left join c on b.ID = c.ID)

where a.a = "abc"

Correction:

Select * from a left join

                    (select * from b left join c on b.ID = c.ID)

where a.a = "abc"

 

热门排行

今日推荐

热门手游