~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/queries.rst

  • Committer: Lee Bieber
  • Date: 2011-02-11 20:30:05 UTC
  • mfrom: (2157.1.3 build)
  • Revision ID: kalebral@gmail.com-20110211203005-757o1y2yf78dxzqr
Merge Stewart - 716848: drizzleimport displays wrong program_name
Merge Stewart - update README file
Merge Andrew and Joe - Exposes the InnoDB SYS_REPLICATION_LOG to data_dictionary so that it is fast and fixes many issues we have been having

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