SELECT list
Description
The SELECT list names the columns, functions, and expressions that you want the query to return. The list represents the output of the query. (Redshift SQL Language Reference SELECT list)
The query start options are fully supported in Snowflake. Just keep in mind that in Snowflake the DISTINCT
and ALL
options must go at the beginning of the query.
In Redshift, if your application allows foreign keys or invalid primary keys, it can cause queries to return incorrect results. For example, a SELECT DISTINCT query could return duplicate rows if the primary key column does not contain all unique values. (Redshift SQL Language Reference SELECT list)
Grammar Syntax
Sample Source Patterns
Top clause
Input Code:
IN -> Redshift_01.sql
Output Code:
OUT -> Redshift_01.sql
ALL
Input Code:
IN -> Redshift_02.sql
Output Code:
OUT -> Redshift_02.sql
DISTINCT
Input Code:
IN -> Redshift_03.sql
Output Code:
OUT -> Redshift_03.sql
Related EWIs
There are no known issues.
Last updated