-
Notifications
You must be signed in to change notification settings - Fork 665
Select
agershun edited this page Dec 28, 2014
·
13 revisions
Select clauses:
- [SELECT columns](Select Columns)
- TOP / LIMIT FETCH
- DISTINCT
- INTO
- FROM
- JOIN ON / USING
- [GROUP BY](Group By)
- HAVING
- WHERE
- [ORDER BY](Order By)
- UNION / [UNION ALL](Union All) /INTERSECT / EXCEPT
[Columns](Select Columns)
SELECT City.Name, City.*, Population AS p FROM Cities
SELECT w*h+20 FROM ?
SELECT SUM(x), COUNT(*) FROM arr
SELECT LCASE(name), LEN(name) FROM names
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo