The first step in creating a database is to create one or more table to hold your data. A table has a columns(or fields) and rows. A single row of data is called a record. From a table, you might select a subset of rows or columns but the result always appears on screen or in print as another table. Each table must have an element that uniquely identifies each row of the table. This element, called the primary key, can be stored in one or in a combination of columns. In our example primary key is Id_number. A key column can be stored in other tables. When this is done, the column is called a foreign key.
|
|
There are the major data types in ORACLE:
|
There are the basic elements of this command:
|