An Overview of Database Concepts

DB for Dummies Linguists

John Remmers

Computer Science Dept., EMU (emeritus)

Relational database concepts

LINGUIST List data

Let's look at a typical LINGUIST message: LINGUIST List 16.2104, Msg #1.

Attributes of a message

Typical queries

Tables

A BAD design for LINGUIST

Have one table. Each record represents one message. The fields correspond to the attributes identified previously.

Why is this a bad idea?

Need to decompose into separate tables - message table, editor table, etc.

Decomposition

Keys

LINGUIST List Entities

Relationships

From E/R to Tables

Construction rules:

Database Schema for LINGUIST Message Data

A Taste of SQL

Notes and Acknowledgements

This slide show can be viewed on the web at jremmers.org.

It was constructed using Eric Meyer's web-based S5 Slide Show system S5 is free, open source, and in the public domain.