-
Notifications
You must be signed in to change notification settings - Fork 664
Select Columns
Mathias Rangel Wulff edited this page Jun 12, 2015
·
4 revisions
Columns
SELECT size
SELECT City.Name, City.Population
Expressions
SELECT LCASE(City), 2+2
Aggregators
SELECT COUNT(*), SUM(Population)
Alias
SELECT City+” “+Country AS LongName
Select all columns from table
SELECT *, City.*
Select columns of arrays
SELECT [0],[1]
Column names with spaces, etc
SELECT [My Column] -- SQL Server style
SELECT `My Column` -- MySQL style
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo