Home >Backend Development >PHP Tutorial > mysql如何查出content里面值做多的那条数据

mysql如何查出content里面值做多的那条数据

WBOY
WBOYOriginal
2016-06-13 13:00:44954browse

mysql怎么查出content里面值做多的那条数据
就是有个表news我怎么能查出字段contenes里面最多的那个数据呢(意思就是内容最多的那条数据查出来)
------解决方案--------------------
select contenes from news order by char_length(contenes) desc;

Statement:
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