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 );



      “Whenever you find yourself on the side of the majority,    
      it is time to reform (or pause and reflect).”    
      ― Mark Twain