select  SUM(ISNULL(ABS(ShopAmount),0))   from  OrderDetail

 ABS函数 去掉金额字段值为负数问题

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2017-12-15
猜你喜欢
  • 2021-05-26
  • 2022-12-23
  • 2021-11-02
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案