当前位置: 代码迷 >> SQL >> [Teach Youself SQL in 十 Minutes] SELECT Clause Ordering
  详细解决方案

[Teach Youself SQL in 十 Minutes] SELECT Clause Ordering

热度:264   发布时间:2016-05-05 14:45:48.0
[Teach Youself SQL in 10 Minutes] SELECT Clause Ordering

?

Clause

Description

Required

SELECT

Columns or expressions to be returned

Yes

FROM

Table to retrieve data from

Only if selecting data from a table

WHERE

Row-level filtering

No

GROUP BY

Group specification

Only if calculating aggregates by group

HAVING

Group-level filtering

No

ORDER BY

Output sort order

No

  相关解决方案