Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> a select within a count ??
Hello all,
I have a query, but it's not working.
Can someone help me:
select count(*), count(select distinct My_id from Anytable where My_id < 1000) from Anytable;
In other words I want to execute a subquery within a count-statement. Is it possible ???
Thx!,
Andre
Received on Tue Jul 01 2003 - 03:18:00 CDT
![]() |
![]() |