ORDER BY
在本练习中,您将使用 grid 数据集练习 ORDER BY。数据集已加载完毕,随时可用!它包含关于美国停电的部分公开信息。
主要列包括:
description:停电的原因/成因。nerc_region:North American Electricity Reliability Corporation(北美电力可靠性公司)为确保电网可靠性而设立,由多个区域实体组成。demand_loss_mw:停电期间未能传输/消耗的能源量。
本练习是课程的一部分
SQL Server 入门
交互式实操练习
通过完成这段示例代码来试试这个练习。
-- Select the first 20 rows from the specified columns
SELECT
___ (___) ___,
event_date
FROM
grid
-- Order your results by the event_date column
____;