Select
In this section you could find information about the select query syntax and its convertions.
Overall Select Translation
Simple select
Input Code:
select * from table1;
select col1 from schema1.table1;Output Code:
select * from
table1;
select col1 from
schema1.table1;Where clause
Input Code:
select col1 from schema1.table1 WHERE col1 = 1 and id > 0 or id < 1;Output Code:
Order By clause
Input Code:
Output Code:
Group by
Input Code:
Output Code:
Model Clause
Row Limiting Clause
Input Code:
Output Code:
Pivot
Input Code:
Output Code:
Unpivot
Input Code:
Output Code:
Transformation of JOIN (+) to ANSI Syntax
To LEFT OUTER JOIN
Example 1:
Input Code:
Output Code:
Example 2:
Input Code:
Output Code:
Input Code:
Output Code:
Input Code:
Output Code:
Input Code:
Output Code:
To CROSS JOIN
Input Code:
Output Code:
Related EWIs
Select Flashback Query
Select Flashback QueryLast updated