Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

only one experssion can be specified in the select list when subquery is introduced with exists

$
0
0
I am new to sql please help me  where i am going wrong.
declare @cnt int 
set @cnt=(select count(*),start_yy,school as total from table_a where id is not null group by start_yy,school)


Viewing all articles
Browse latest Browse all 23857

Trending Articles