多表查询relation "xxx" does not exist

多表查询中,如果你能在Navicat中查出结果,但是在idea运行报relation "xxx" does not exist

那么你可以把报错的那个表用到的字段往后挪一下,可能是报错的表的字段select的前面,查询的顺序不一样,还没查到该表,所以直接以为没有这个表,经过位置调整就可以了。

原文地址:https://www.cnblogs.com/chaara/p/14549375.html