Prior to retrieve data
5.3 to retrieve data
** 1. Select data for selecting tables, columns in the view.
-
for inserting into the structure of the table and the specified data into the new table.
-
from the specified data source.
-
Where data retrieval for screening.
-
group by grouping search results display.
-
having: data lines for screening the query result from the use of the packet group by clause
-
order by ordering for the result set.
-
Column alias: as;
-
Show unique record: distinct;
-
Fuzzy query: like;
-
Any number of characters:%;
-
Any one character: _;
-
A data value matches a set of targets: IN;
-
Results between the two values: between ... and ...;
-
Empty: is null; **
Logic screening
- Table connection:
Use join connection:
En:
En equivalent:
Non-equivalent connection:
The connector itself
Left outer join
Right outer join
Multi-line single row subqueries
Single-line multiple-column query
Multi-line multiple-column query
Correlated subquery
Using a subquery in the FROM clause
Use WITH clause subquery
Hierarchical queries
UNION: