CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
database
> DB2 data have o average greater than zero
DB2 data have o average greater than zero
Time:09-27
Don't know if there is any SQL statements for the average of the greater than 0
Value
8
8
0
7
5
6
Direct use AVG, will count zero inside, is there any way can eliminate 0, again calculate average
CodePudding user response:
Combined with the where xxx> 0
Page link:
https//www.codepudding.com/database/37359.html
Prev:
Please write a SQL query no right answer questions id
Next:
Tip anywhere database encryption keys "missing", how to restore?
Tags:
DB2
Related
Links:
CodePudding