Professional Documents
Culture Documents
Card index files do not, therefore, constitute a database. On the other hand, the large
files of banks, insurance companies, telephone companies, or the state transport
department can be considered databases. These databases contain data about
addresses, account balances, car registration plates, weights of vehicles, and so on.
For example, the company you work for probably has its own computers, and these
are used to store salary-related data.
SQL: History
1970
Dr. Edgar F. "Ted" Codd of IBM is known as the father of relational databases. He
described a relational model for databases.
1974
Structured Query Language appeared.
1978
System/R was released by IBM working on Codd’s ideas.
1986
IBM developed the first prototype of relational database and standardized by ANSI.
The first relational database was released by Relational Software and its later
becoming Oracle.
Table : The entire storage structure Employee Table
is called a table
Column : A column is a vertical
entity in a table that contains all
information associated with a
specific field in a table
Row : A row is a horizontal entity
in an table. It represents all the
data of a particular employee
Field : A table consists of several
records, each record can be broken
into smaller entities called fields
Null value : It is a field is the table
that is blank. It is different from a
zero value or a field that contains
NOT NULL Ensures that the column does not have a null value
DEFAULT
Provides a default value for a column when none is specified
CONSTRAINT
UNIQUE
Ensures that all the value in the column is different
CONSTRAINT
PRIMARY
Uniquely identified each row records in the database table
KEY
FOREIGN
Uniquely identified each row records in another database table
KEY
CHECK
Ensures that all the value in a column satisfy certain condition
CONSTRAINT
INDEX It is used to create and retrieve data quickly. Eg: Index of a book
DATABASE LANGUAGES:
END OF NOTES