Home > Database > Mysql Tutorial > body text

mysql数字排序问题。

WBOY
Release: 2016-06-06 09:43:14
Original
915 people have browsed it

mysqlsqlsql排序

数据库为:mysql
现有表 t_table ,字段 c_column;c_column的取值范围是1,2,3。
要求排序后的结果是:1,1,1,3,3,2,2,2,2这种结构,排序怎么写?

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!