If I understand what you're
asking try:
select count_1, count_2
from
(select count(*)
AS count_1 from leads where
ad_code = '555'),
(select count(*)
AS count_2 from leads where ad_code =
'222')
;
Duane
|
- Re: [GENERAL] multiple count functions in a select state... Mike Rylander
- Re: [GENERAL] multiple count functions in a select ... Duane Lee - EGOVX
- Duane Lee - EGOVX