|
|
|
Вложенный SQL
|
|||
|---|---|---|---|
|
#18+
select sum (GRN1) from (select SUM(t.CENA*z1.KOL_M1) as GRN1 from tovar t , zakaz01 z1 where t.GOD='2003' and t.KOD=z1.KOD union all select SUM(t.CENA*z2.KOL_M1) as GRN1 from tovar t , zakaz02 z2 where t.GOD='2003' and t.KOD=z2.KOD) Ругается Token unknown - line 2, char 5. А в Oracle проходит. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.12.2002, 11:45 |
|
||
|
|

start [/forum/topic.php?fid=40&gotonew=1&tid=1581008]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
145ms |
get topic data: |
10ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
52ms |
get tp. blocked users: |
2ms |
| others: | 205ms |
| total: | 442ms |

| 0 / 0 |
