字段money的所有数值求和有关问题,请高手指教~多谢

WBOY
Release: 2016-06-13 13:43:02
Original
905 people have browsed it

字段money的所有数值求和问题,请高手指教~谢谢
我有一个表my,其中字段有id,name,money现在我想将字段money的所有数值求和,里面记录有几百个,请问

具体代码怎么实现呀?谢谢指教!

------解决方案--------------------
select sum(money) from my;

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template