Home > Backend Development > PHP Tutorial > 指定字段求和,该如何解决

指定字段求和,该如何解决

WBOY
Release: 2016-06-13 10:45:24
Original
822 people have browsed it

指定字段求和

想求出韩姓用户,已经上传文件大小。
怎么写啊?谢谢啊

------解决方案--------------------
select SUM(daxiao) as size where username like '韩%';
------解决方案--------------------
as size

给他起个外号叫size.

探讨

size是什么啊
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