Select
Basic usage
Selecting multiple columns
Selecting all columns
Selecting with a custom alias
Complex selection
You can select arbitrary expression including subqueries and raw sql snippets. When you do that, you need to give a name for the selections using the as
method: