chapter02

chapter02 - Concepts of Database Management Fifth Edition...

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
3 2 Objectives (con’t.) Sort data in QBE Join Tables in QBE Update data using QBE Understand relational algebra
Background image of page 3

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

View Full DocumentRight Arrow Icon
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
Background image of page 4
5 2 Premiere Products Sample Data
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 2 Premiere Products Sample Data
Background image of page 6
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
Background image of page 7

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

View Full DocumentRight Arrow Icon
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
Background image of page 8
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
Background image of page 9

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

View Full DocumentRight Arrow Icon
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
Background image of page 10
11 2 Figure 2.3: An Example of Simple Queries
Background image of page 11

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

View Full DocumentRight Arrow Icon
12 2 Figure 2.4: Simple Queries (con’t.)
Background image of page 12
Image of page 13
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 Right Arrow Icon
Ask a homework question - tutors are online