chapter02

# chapter02 - Concepts of Database Management Fifth Edition...

This preview shows pages 1–13. Sign up to view the full content.

Concepts of Database  Concepts of Database  Management, Fifth Edition Management, Fifth Edition Chapter 2:  Chapter 2:  The Relational Model 1: The Relational Model 1: Introduction, QBE, and Introduction, QBE, and Relational Algebra Relational Algebra

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 2 Objectives Describe the relational model Understand Query-by-Example (QBE) Use Criteria in QBE Create Calculated Columns in QBE Calculate Statistics in QBE
3 2 Objectives (con’t.) Sort data in QBE Join Tables in QBE Update data using QBE Understand relational algebra

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 2 Relational Databases Collection of tables Each entity in own table Attributes are fields (columns) in table Relationships are common columns in two or more tables Order of rows and columns is immaterial Repeating groups are not permitted Entries with repeating groups are unnormalized
5 2 Premiere Products Sample Data

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 2 Premiere Products Sample Data
7 2 Relations Two dimensional table in which: Entries are single-valued Each column (field or attribute) has a distinct name All values in a column represent the same attribute Order of columns is immaterial Each row (record or tuple) is distinct Order of rows is immaterial

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
8 2 An Unnormalized Relation Relational Database – a collection of relations Unnormalized relation When a structure satisfies all the properties of a relation except for the first item Some of the entries contain repeating groups and thus are not single-valued
9 2 Database Structure Representation Write the name of the table followed by a list of all columns within parentheses Each table should appear on its own line Use the notation, tablename.columnname, with duplicate column names within a database Using this combination qualifies column names Primary key – the column or collection of columns that uniquely identifies a given row in a table

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
10 2 Query-by-Example (QBE) Query Questions represented in a way the DBMS can recognize and process QBE Visual approach to writing queries Used in MS-Access
11 2 Figure 2.3: An Example of Simple Queries

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
12 2 Figure 2.4: Simple Queries (con’t.)
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/17/2008 for the course IS 158 taught by Professor Moffitt during the Spring '08 term at CSU Fresno.

### Page1 / 45

chapter02 - Concepts of Database Management Fifth Edition...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online