【发布时间】:2015-02-19 11:21:51
【问题描述】:
select a.fmId, a.nameFirstMarketing, a.nameLastMarketing, a.lotusNotesEmailAddress
from Advisor a
where a.fmId in
(Select ae.id.fmId
from AdvsEnrl ae
where ae.enrlProcCmplTstp IS NOT NULL
InnerJoin
select aor.id.identifierDisplayNumber
from AdvsOboRel aor
where aor.id.identifierDisplayNumber in
(select ae.id.fmId
from AdvsEnrl ae where ae.enrlProcCmplTstp IS NOT NULL;
我收到了这个错误,你能告诉我如何解决这个错误吗? 意外标记:靠近第 1 行第 257 列的 InnerJoin
【问题讨论】:
-
InnerJoin 不存在。括号不平衡。此查询在 SQL 中也不起作用
-
如何写这个查询 joe
-
亲爱的,发布你的表结构和你的功能目标
-
在 advisor 表 fmid 和 name firstmarketing 和 namelastmarketing 和 lotusnotesemail 地址列和 advsenrl 表中也是 fmid 并且我们应该 enrlproccmpltstp 不为 null 并且第三个表 Displaynumber 表示在 advsoborel 表中的 fmid 我们可以使用内部连接替换工会
-
如果可能,请编辑您的问题。发布结构表如下:表名,然后是列。
标签: hibernate