问题:
计算平均数,但希望拍出最大和最小值,以(希望能)减少数据畸偏造成的影响。
select avg(sal) from emp
where sal not in (
(select min(sal) from emp),
(select max(sal) from emp)
);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-01-08
  • 2021-08-14
  • 2021-07-10
相关资源
相似解决方案