Database Terminologies (Cont.)


Databases, Tables, Rows, and Columns
Domains and Datatypes
  • Each column in a table is declared to have a certain type.
SQL> CREATE TABLE customer3 (
  2    cid    CHAR(5),
  3    cname  VARCHAR(32),
  4    city   VARCHAR(32),
  5    discnt REAL );