Quantcast
Channel: output for avg function in select statement is not accurate with vb.net and asp.net
Browsing latest articles
Browse All 7 View Live

Re: output for avg function in select statement is not accurate with vb.net...

Try something like this:SELECT avg(eb_fail_count) as eb_fail_count FROM alarm_count WHERE site_id = 'S001' and eb_fail_count <> 0 and dc_low_count <> 0 and hrt_count <> 0 and...

View Article


Re: output for avg function in select statement is not accurate with vb.net...

ya i can get but the thing is that very first time the value may be 16 and 0so for this time i need 16 0nly rather than 8 

View Article


Re: output for avg function in select statement is not accurate with vb.net...

Since there are two records for S001, I believe the output is correct.

View Article

Re: output for avg function in select statement is not accurate with vb.net...

I believe you will get this result with that statement you posted.

View Article

Re: output for avg function in select statement is not accurate with vb.net...

spapimBut i need 16and if there is 16 and 2then i need (16 + 2) /2 = 9

View Article


Re: output for avg function in select statement is not accurate with vb.net...

Hi, I believe that the result is correct, because (16 + 0) / 2 = 8. 

View Article

output for avg function in select statement is not accurate with vb.net and...

Site_id,  eb_fail_count,  dc_low_count,  hrt_count,  dfs_count,  dft_count,  llop_count,  dg_count,  ac_dateS001      16                    20               13               12            17...

View Article
Browsing latest articles
Browse All 7 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>