~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/queries.rst

  • Committer: Andrew Hutchings
  • Date: 2011-02-15 22:03:42 UTC
  • mto: (2172.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2173.
  • Revision ID: andrew@linuxjedi.co.uk-20110215220342-k4tveraug3bpy2v5
Make fixes to temporal docs
Make a few minor docs cleanups/fixes
Start using syntax-highlighting code blocks

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:  ::
 
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
10
12
 
11
13
        SELECT * FROM table_name;
12
14
 
24
26
   orderby
25
27
   join
26
28
 
27
 
For example, ::
 
29
For example:
 
30
 
 
31
.. code-block:: mysql
28
32
 
29
33
        SELECT first_column_name, second_column_name
30
34
        FROM table_name