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)
↧
only one experssion can be specified in the select list when subquery is introduced with exists
↧