0 votes
in DB2 by

What could be the reason that the MySQL statement 'SELECT AVG (SALARY) FROM EMP' generates an inaccurate output?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Aug 26, 2022 in Ruby by Robin
0 votes
asked Aug 12, 2023 in Other by SakshiSharma
...