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

WBOY
Release: 2016-06-13 13:00:44
Original
896 people have browsed it

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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!