1、数据库中desc是descend 降序意思、asc是ascend 升序意思
/* 按照新时间排序 */
SELECT * FROM download_qx/*表名*/ ORDER BY createTime/*表时间字段*/ DESC
/* 按照老时间排序 */
SELECT * FROM download_qx/*表名*/ ORDER BY createTime/*表时间字段*/ ASC
/* qx,name模糊查询 */
SELECT * FROM upload_file WHERE CONCAT(qx,NAME) LIKE '%2%' GROUP BY qx,NAME;
/* qx模糊查询 单条 */
SELECT * FROM upload_file WHERE qx LIKE '%2%' GROUP BY qx;
/* qx模糊查询 全部 */
SELECT * FROM upload_file WHERE qx LIKE '%2%';