SELECT-list
After the SELECT keyword, you should specify the list of fields (or expressions) to retrieve from the database. This list is called SELECT-list. It defines the structure of the query result: the number, names, and types of the selected values.
Every expression in SELECT-list has a name in the output of the query. The names, when not provided by the user, are assigned automatically by the database and, in most cases, the name reflects the source of the data: a name of a column when a field from a table is selected, or the name of a function when one is used. In other cases, the name will look like ?column?. It's possible, and in many cases it totally makes sense, to provide a different name for a selected expression. This is done ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access