排序用法 order by asc desc

單個字段排序 排序 select c1,c2,c3 from table order by 3 asctable 多字段排序select select c1,c2,c3 from table order by 2 asc,3 desctab 按照子串排序ab select substr(c1,1,3) c2 from table order by c2 asc
相關文章
相關標籤/搜索