首页 > 代码库 > SQL学习笔记 SQL ORDER BY 关键字

SQL学习笔记 SQL ORDER BY 关键字

SELECT column_name,column_name
FROM table_name
ORDER BY column_name,column_name ASC|DESC;

 

SELECT id, name, url, alexa, country
FROM Websites
ORDER BY id DESC

技术分享

技术分享

技术分享

 

SQL学习笔记 SQL ORDER BY 关键字