Login
Remember
Register
Ask a Question
What could be the reason that the MySQL statement 'SELECT AVG (SALARY) FROM EMP' generates an inaccurate output?
0
votes
asked
Feb 28, 2024
in
DB2
by
john ganales
What could be the reason that the MySQL statement 'SELECT AVG (SALARY) FROM EMP' generates an inaccurate output?
mysql
statement
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 28, 2024
by
john ganales
The reason for the statement generating an inaccurate outcome is that SALARY has not been declared to have NULL values and, at the same time, the employees whose salary is not known are also counted.
...