select itemCode,sum(generateMoney) as totalmoney from inf_balance where vehiclecode='VC12114257' group by ItemCode

 

使用groupby

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2021-08-13
  • 2022-01-08
  • 2021-09-03
  • 2021-12-03
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2021-10-10
  • 2021-05-26
  • 2022-12-23
  • 2021-10-19
  • 2021-08-03
相关资源
相似解决方案