~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/tables.rst

  • Committer: Brian Aker
  • Date: 2010-12-08 20:27:54 UTC
  • mfrom: (1945.3.9 drizzle)
  • Revision ID: brian@tangent.org-20101208202754-vlmv7nafvktezfe6
Merge Marisa, docs changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Tables
 
1
Tables 
2
2
=======
3
3
 
4
 
A table makes up a collection of column_types that can be joined together in
5
 
order to create relational result sets. Each record is called a row, and a
6
 
table can have an infinite set of rows.
7
 
 
8
 
.. toctree::
9
 
   :maxdepth: 2
10
 
 
11
 
   alter_table
12
 
   create_table
13
 
   drop_table
14
 
   truncate 
15
 
   rename
 
4
A table makes up a collection of :doc:`/columntypes` that
 
5
can be joined together in order to create relational result sets. 
 
6
 
 
7
Each record in the table is called a row, and a table can have an infinite
 
8
set of rows. Each row represents one piece of data, and each column can
 
9
be thought of as representing a component of that piece of data. 
 
10
 
 
11
So, for example, if we have a table for a customer information, then
 
12
the columns may include information such as First Name, Last Name,
 
13
Address, City, Country, Birth Date, and so on. As a result, tables have
 
14
column headers, which specify the data types for that particular column.
 
15
 
 
16
.. toctree:: 
 
17
        :maxdepth: 2
 
18
 
 
19
        alter_table
 
20
        create_table
 
21
        drop_table
 
22
        truncate
 
23
        rename