Sent a little too quickly the
sql should look like this:
select count_1, count_2
from
(select count(*)
AS count_1 from leads where
ad_code = '555') AS DMY1,
(select count(*)
AS count_2 from leads where ad_code =
'222') AS DMY2
;
|
- Re: [GENERAL] multiple count functions in a select state... Mike Rylander
- Re: [GENERAL] multiple count functions in a select ... Duane Lee - EGOVX
- Re: [GENERAL] multiple count functions in a select ... Duane Lee - EGOVX