asp2.net
چهارشنبه 04 اردیبهشت 1392, 12:20 عصر
با سلام من چندتا select بصورت زیر دارم آیا میشه بجای دستور چند select از یک دستور استفاده کنم که نتیجه را به من بده
select count(s1) from Tbl1 where s1=0
select count(s2) from Tbl1 where s2=0
select count(s3) from Tbl1 where s3=0
select count(s4) from Tbl1 where s4=0
select count(s5) from Tbl1 where s5=0
select count(s6) from Tbl1 where s6=0
select count(s7) from Tbl1 where s7=0
select count(s8) from Tbl1 where s8=0
select count(s9) from Tbl1 where s9=0
select count(s10) from Tbl1 where s10=0
ممنون میشم راهنمایی کنید
select count(s1) from Tbl1 where s1=0
select count(s2) from Tbl1 where s2=0
select count(s3) from Tbl1 where s3=0
select count(s4) from Tbl1 where s4=0
select count(s5) from Tbl1 where s5=0
select count(s6) from Tbl1 where s6=0
select count(s7) from Tbl1 where s7=0
select count(s8) from Tbl1 where s8=0
select count(s9) from Tbl1 where s9=0
select count(s10) from Tbl1 where s10=0
ممنون میشم راهنمایی کنید