CLAUSE PURPOSE ========= ============================================== Select Defines the variables data to be retrieved for From Defines the groups to retrieve data from Criteria Defines constraints on data retrieval ("where") GroupBy Defines how rows being returned should be grouped Having Defines how groups should be filtered, also a criteria OrderBy Defines how the results should be sorted Option Defines any extra options on the query
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|