~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/queries.rst

new function and clause files, some placeholders for right now

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
Keywords and clauses include:
16
16
 
17
 
* The :doc:`\where` clause
18
 
* The :doc:`\distinct` clause
19
 
* The :doc:`\groupby` clause
20
 
* The :doc:`\having` clause
21
 
* The :doc:`\orderby` clause
22
 
* The :doc:`\join`clause
 
17
.. toctree::
 
18
   :maxdepth: 2
 
19
 
 
20
   where
 
21
   distinct
 
22
   groupby
 
23
   having
 
24
   orderby
 
25
   join
23
26
 
24
27
For example, ::
25
28
 
27
30
        FROM table_name
28
31
        WHERE first_column_name > 1000;
29
32
 
30
 
*The column names that follow the SELECT keyword determine the columns that will be returned in the results. You can select as many column names that you'd like, or you can use a * to select all columns (as shown in the first example above). The order in which they are specified will be reflected in your query results.
31
 
 
32
 
*The table name that follows the keyword FROM specifies the table that will be queried to retrieve the desired results.
33
 
 
34
 
*The WHERE clause (optional) specifies the data values or rows to be returned or displayed, based on the criteria described after the keyword WHERE.
 
 
b'\\ No newline at end of file'
 
33
The column names that follow the SELECT keyword determine the columns that will be returned in the results. You can select as many column names that you'd like, or you can use a * to select all columns (as shown in the first example above). The order in which they are specified will be reflected in your query results.
 
34
 
 
35
The table name that follows the keyword FROM specifies the table that will be queried to retrieve the desired results.
 
36
 
 
37
The WHERE clause (optional) specifies the data values or rows to be returned or displayed, based on the criteria described after the keyword WHERE.
 
 
b'\\ No newline at end of file'