ASC 命令用于按升序对返回的数据进行排序。
ASC
下面的 SQL 语句从 “Customers” 表中选择所有列,并按 "CustomerName" 列升序排列:
“Customers”
SELECT * FROM CustomersORDER BY CustomerName ASC;
SELECT * FROM Customers
ORDER BY CustomerName ASC;