~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/queries.rst

Merge in additional test case fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
persistent effects on the database. SELECT simply retrieves data from
7
7
one or more tables, or expressions.
8
8
 
9
 
A query includes a list of columns to be included in a result set; an example of this would be:
10
 
 
11
 
.. code-block:: mysql
 
9
A query includes a list of columns to be included in a result set; an example of this would be:  ::
12
10
 
13
11
        SELECT * FROM table_name;
14
12
 
26
24
   orderby
27
25
   join
28
26
 
29
 
For example:
30
 
 
31
 
.. code-block:: mysql
 
27
For example, ::
32
28
 
33
29
        SELECT first_column_name, second_column_name
34
30
        FROM table_name