Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> SQL Statment
Is there anything wrnog with this SQL statment?
"select rep.repnomfan, sum(pedtotinf) venda
from puket.avpeca, (select repcod, repnomfan from puket.coreca where
repstacod = 'A') rep
where rep.repcod = avpeca.repcod
group by rep.repnomfan
order by venda"
table puket.avpeca has 35000 rows
the search takes 6 secons. It is normal?
![]() |
![]() |