1 Intro-1
1 Intro-1
9
Persons trained >
1500
10
Community service projects
Community services projects
Medical Camp
10000
VTC Computers
48000 50000
Student As-
sistantships Food packs
3,67000 1,25000
Helping needy
1,10000
BIO-350
Bioinformatics Database Development
Lecture # 1
Required Text Book
• Book Authors
– Connolly, T. M., and Begg, C. E.
• Book Title
– Database Systems
A Practical Approach to Design,
Implementation, and Management
• Book Edition and Publisher
– 4th Edition, Addison Wesley, 2005.
Reference Books
• Book Authors
– Hoffer, Jeffrey A., and Prescott, Mary B., and
McFadden, Fred R.
• Book Title
– Modern Database Management
• Book Edition and Publisher
– 7th Edition, Prentice Hall, 2005.
Reference Books
• Book Author
– Kroenke, David M.
• Book Title
– Database Processing
Fundamentals, Design and
Implementation
• Book Edition and Publisher
– 10th Edition, Prentice Hall, 2006.
Reference Books
• Book Author
– Date, C. J.
• Book Title
– An Introduction to Database Systems
• Book Edition and Publisher
– 8th Edition, Addison Wesley, 2003.
Course Objectives
• To be able to understand the underlying
concepts of database, and database
management system (DBMS)
• To introduce students to the concepts of
relational data model
• Analysis and design of database application or
information system
Course Objectives..
• Experience with SQL
• Implementation of database using SQL
• Learn to work with My SQL
Course Contents at a Glance
• Introduction to Database Concepts
• Database Environment
• The Relational Model
• Relational Algebra
• SQL: Data Manipulation
• SQL: Data Definition
Course Contents at a Glance..
• Entity-Relationship Model
• Enhanced E-R Model
• Normalization
Marks Distribution
• Quizzes/Assignments 25%
• Mid-Term 25%
• Final 50%
Introduction to Databases
Chapter 1
Chapter 1 - Objectives
• Some common uses of database systems
• Characteristics of file-based systems
• Problems with file-based approach
• Meaning of the term database (DB)
• Meaning of the term Database Management
System (DBMS)
Chapter 1 - Objectives
• Typical functions of a DBMS.
• Major components of the DBMS environment.
• Personnel involved in the DBMS environment.
• History of the development of DBMSs.
• Advantages and disadvantages of DBMSs.
Examples of Database Applications
• Purchases from the supermarket
• Purchases using your credit card
• Booking a holiday at the travel agents
• Using the campus library
• Taking out insurance
• Using the Internet
• Studying at university
File-Based Systems
• Early attempt to Computerize the manual
filing system
• Collection of application programs that
perform services for the end users (e.g.
reports).
• Each program defines and manages its own
data.
Manual Filing Systems
• Works well
– while number of items to be stored is small
– For only storage or retrieval functionality of
large number of items
File-Based Systems
• Consider DreamHome example for file-
based systems
– Sales Department : responsible for selling and
renting of properties
– Contract Department: responsible for handling
lease agreements
Sales Department
• PropertyForRent
(propertyNo, street, city, postcode, type, rooms, rent,
ownerNo)
• Client
(clientNo, fName, lName, telNo, preftype, maxRent)
• PrivateOwner
(ownerNo, fName, lName, address, telNo)
PropertyForRent
propertyNo street city postcode type rooms rent ownerNo
PrivateOwner
ownerNo fName lName address telNo
CO46 Joe Keogh … 01224-861212
CO87 Carol Farrel … 0141-357-7419
CO40 … … … …
CO93 … … … …
Client
• Lease
(leaseNo, propertyNo, clientNo, rent , paymentMethod, deposit,
paid, rentStart, rentFinish, duration)
• PropertyForRent
(propertyNo, street, city, postcode, type, rooms, rent)
• Client
(clientNo, fName, lName, telNo, preftype, maxRent)
PropertyForRent
Lease
• Data dependence
– File structure is defined in the program code.
• Result:
– the database and Database Management System
(DBMS).
Database
• Shared collection of logically related data, and a
description of this data, designed to meet the
information needs of an organization.
• System catalog (metadata) provides description
of data to enable program-data independence.
• Logically related data comprises entities,
attributes, and relationships of an
organization’s information.
Database Management System (DBMS)