CS 415 Database Systems Modeling Introduction, Exams of Database Programming

How to design a database schema for JumboCash, a system that allows students to use their ID cards to make purchases. It describes the entities and relationships involved in the system and how to represent them visually using ER diagrams. The document also provides examples of how to create entity sets, attributes, and relationships. The text emphasizes the importance of understanding the data and application before designing the schema.

Typology: Exams

2022/2023

Available from 03/29/2023

ClemBSC
ClemBSC 🇺🇸

3.8

(32)

1.6K documents

1 / 29

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Modeling Introduction
CS 115 Database Systems
Fall 2021
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download CS 415 Database Systems Modeling Introduction and more Exams Database Programming in PDF only on Docsity!

Modeling Introduction

CS 115 Database Systems

Fall 2021

Given an understanding of the data (and/or

application the data will be used for)

  • (^) Design a database schema that represents the data
  • (^) Document the schema visually with ER Diagrams

Example

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept. NOUNS (entity sets or attributes) VERBS (relationships)

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept. Name of the database

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept.

JumboCash requires that we associate each student's ID card with a record containing the ID number and the amount of cash available. Students can load more cash on to their accounts at the bursar. A set of authorized vendors can draw from the account. An authorized vendor has a name , address , and phone number. When a student makes a purchase , their cash is deducted and the amount owed to the vendor is increased. Periodically, the authorized vendors are paid the amounts owed and a payment record is kept. (implies this relationship will have attributes)