Home > Database > Mysql Tutorial > body text

mysql多条件排序查询。。。。

WBOY
Release: 2016-06-06 09:38:04
Original
1762 people have browsed it

mysql

表里有两个时间一个标识符,想实现:
1、先按时间1降序排序(条件:标识符=1)
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!