-
Notifications
You must be signed in to change notification settings - Fork 664
Select
Andrey Gershun edited this page Jan 18, 2016
·
13 revisions
Select clauses:
- WITH
- [SELECT columns](Select Columns)
- [REMOVE COLUMNS](Remove Columns) columns / LIKE pattern
- TOP / LIMIT FETCH
- DISTINCT
- INTO
- FROM
- JOIN ON / USING
- APPLY
- LET
- [GROUP BY](Group By)
- HAVING
- WHERE
- [ORDER BY](Order By)
- UNION / [UNION ALL](Union All) /INTERSECT / EXCEPT / CORRESPONDING
[Columns](Select Columns)
SELECT City.Name, City.*, Population AS p FROM Cities
Select [_](Underscore Object) - underscore object - whole row
SELECT w*h+20 FROM ?
SELECT SUM(x), COUNT(*) FROM arr
SELECT LCASE(name), LEN(name) FROM names
See also: SEARCH
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo