Home  >  Article  >  Database  >  mysql数字排序问题。

mysql数字排序问题。

WBOY
WBOYOriginal
2016-06-06 09:43:14947browse

mysqlsqlsql排序

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

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