Documente Academic
Documente Profesional
Documente Cultură
UTB
McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
Introduction
Objectives of the course
Aims:
• This module will provide students to
understand need and working of Database
Systems, to understand various architectures
of DBMS, to learn Relational model & SQL and
to learn Relational database design.
3
Course Information
•Assessment
•Contact details – 60% Coursework
• Some lab-marked exercises
– Jean Paul NIZEYIMANA
• A written exercise with a
– jnizeyimana@utb.ac.rw database design
– 0788771540 – 40% Examination
– Office: B05 • 2 hour written exam
Why Study Databases?
• Databases are useful • Databases in CS
– Many computing applications – Databases are a ‘core topic’ in
deal with large amounts of computer science
information – Basic concepts and skills with
– Database systems give a set database systems are part of
of tools for storing, searching the skill set you will be
and managing this assumed to have as a CS
information graduate
Data vs. Information
• Data:
– Raw facts; building blocks of information
– Unprocessed information
• Information:
– Data processed to reveal meaning
• Accurate, relevant, and timely information is key
to good decision making
• Good decision making is the key to survival in a
global environment
Foundation Data Concepts
Large
Database Concepts
Database – a collection of related tables
Tables – a collection of related records
– collection of related entities
Record – collection of fields (table row)
–represents an entity
Field – collection of characters (table column)
– represents an attribute
Character – single alphabetic, numeric or other symbol
Small
Fields
Characters “B R E I M E R” form a field
Last Name
Breimer
A record is an entity
Tables
A bunch of records forms a table
Product Table
Customers Products
CID FName LName Address PID Description Cost
508 Eric Breimer ... 199 Viagra $45.99
509 Andrew Zych ... 200 Tooth Paste $2.58
510 Greg Smith ... 201 Hair Gel $5.99