~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/where.rst

  • Committer: Lee Bieber
  • Date: 2011-01-15 03:08:27 UTC
  • mfrom: (1994.5.38 doc)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: kalebral@gmail.com-20110115030827-0h9s99kiknrmt9ti
Merge Stewart - some documentation clean up

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
The WHERE clause is used to extract only those records that fulfill a specified criterion.
5
5
 
6
 
SQL WHERE Syntax ::
 
6
Simple SQL WHERE Syntax ::
7
7
 
8
8
        SELECT column_name(s)
9
9
        FROM table_name
10
10
        WHERE column_name operator value
11
11
        
12
 
**WHERE Clause Example**
 
12
**Simple WHERE Clause Example**
13
13
 
14
14
The "Persons" table:
15
15
 
36
36
|1        | Larson     | Sue      |3 Cherry  | Chicago|
37
37
+---------+------------+----------+----------+--------+
38
38
|2        | Roberts    | Teri     |21 Brown  | Chicago|
39
 
+---------+------------+----------+----------+--------+
 
 
b'\\ No newline at end of file'
 
39
+---------+------------+----------+----------+--------+