J
jin_shu
Unregistered / Unconfirmed
GUEST, unregistred user!
例:
表qqq.db 字段 a1,j1,j2,j3,j4,j5
以a1分组,j1,j2,j3,j4,j5分别按不同条件累计生成
select aaa.*,bbb.* from
(select a1,sum(je1) from qqq group by j1 where ...) aaa,
(select a1,sum(je3) from qqq group by j1 where ...) bbb,
where aaa.a1=bbb.a1
出错提示:invalid use of keyword
token:select
line number:2
为什么??[]
谢谢!!
表qqq.db 字段 a1,j1,j2,j3,j4,j5
以a1分组,j1,j2,j3,j4,j5分别按不同条件累计生成
select aaa.*,bbb.* from
(select a1,sum(je1) from qqq group by j1 where ...) aaa,
(select a1,sum(je3) from qqq group by j1 where ...) bbb,
where aaa.a1=bbb.a1
出错提示:invalid use of keyword
token:select
line number:2
为什么??[]
谢谢!!