0% found this document useful (0 votes)
54 views3 pages

Database Lec01

The document discusses key concepts related to databases including: 1) A database is an organized collection of information and a DBMS is software that facilitates organizing, storing, and retrieving data from databases. 2) The relational model organizes data into tables with rows and columns and defines the structure and type of data within each field. 3) The database schema specifies how data is logically structured while the database instance contains the actual content and data values which must conform to the schema.

Uploaded by

Aml Makarem
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views3 pages

Database Lec01

The document discusses key concepts related to databases including: 1) A database is an organized collection of information and a DBMS is software that facilitates organizing, storing, and retrieving data from databases. 2) The relational model organizes data into tables with rows and columns and defines the structure and type of data within each field. 3) The database schema specifies how data is logically structured while the database instance contains the actual content and data values which must conform to the schema.

Uploaded by

Aml Makarem
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Lec: 01

23/10/2013

Databases

Dr/Amany Abdu

Database: Organized collection of information. Database Management System (DBMS): Software that facilitates organization storage and retrieval of information from databases. EX: Microsoft Access , SQL Server , ORACLE. Relational Model: Each subject in database is a table (Relation). Each table has a list of attributes (Fields). Each attribute has a specific domain (Type). Each Relation consists of a list of tuples (Rows, Records).

Student
subject
Domain (ID): Number Domain (Name): Text Domain (Email): Text

attributes

ID 1 2 3

Name X Y Z

Email -----@----------@----------@-----3 tuples

DB Schema (Meta Data): Specification of how data is structured logically. Rarely changes. S ID S ID S Name S FName Email S LName Email

Lec: 01

23/10/2013

Databases

Dr/Amany Abdu

DB Instance: Content. Changes rapidly. Must conform to the schema. Student (S ID, S Name, S Address) Course (C No, C Title)

DB Schema

DB Instance

Student (<1,Ahmed,Nasr City>,<2,Ali,Heliopolis>,<3,Islam,Mokatam>) Course (<101,Database>,<2,DataMining>,<3,Marketing>) Dom (ID): Number Dom (S Name): Text Dom (S Address): Text Student Primary Key: Must be unique.
One or more fields of table.

Course C No C Title

S ID S Name S Address Student Course

S ID 1 1 1 2 2

C No 1 2 3 1 2

S ID

P.K

C No

Lec: 01

23/10/2013

Databases

Dr/Amany Abdu

Employee E-No

Department D-No P.K

E-Name D-No

F.K

D-Name

An Employee assigned to one department. A department has many employees.

With my best wishes

Mohammed Farahat

You might also like