Professional Documents
Culture Documents
DATABASE
K.MATHIYAZHAGAN
Assistant Professor
Dept. Of Computer Applications
Sri Sankara Arts and Science College
STRUCTURE OF RELATIONAL
DATABASE
• A relational database consist of a collection of tables each
having a unique name
• A row in a table represents a relationship among a set of
values
• Thus a table represents a collection of relationships
• There is a direct correspondence between the concept of
a table and the mathematical concept of a relation
• A substantial theory has been developed
for relational databases
Basic structure
Database scheme
Keys
Query languages
BASIC STRUCTURE
x 4
i=1 Di
Street Assets
Deposi
C name C City t B Name B city
Customer Branch
Borrow
Loan # Amount
4. The relation schema for the banking example
used throughout the text are:
• Branch-schema=(bname,assets,bcity)
• Customer-schema=(Cname, street, city)
• Deposit-schema=(Cname, bname, account#, balance)
• Borrow-schema=(bname,Cname, loan#,amount)
NOTE