Highlights
Data Design
Tables & Keys in a DBMS
Definitions: Data Design Terms
Entity: An entity is a person, place, thing or event for which data is collected and maintained.eg: an online sales system may include entities named: CUSTOMER, ORDER, PRODUCT, or SUPPLIER.
Table or File: it contains a set of related records, where data is organized. Tables or Files are shown as 2-dimensional structures that consist of columns and rows.
Field: (or attribute) is a single characteristic or fact about an entity.eg: the entity CUSTOMER might have as fields the Name, Surname, Address, email etc.
Record: a record is a set of related fieldsthat describes an instance or occurrence of an entity such as one customer, product etc. It might have one or many fields.
Definitions: Key Fields
Primary Key: a Primary Key is a field or combination of keys that uniquely and minimally identifies a particular member of an entity
Candidate key: sometimes there is a choice of fields to use as a Primary Key (eg: choice between COURSE DESCR. and COURSE NO).
Foreign Key: is a field in one table that matches the Primary Key of another table (eg: ADVISOR NUMBER).
Secondary Key: is a field or combination of fields that is not unique, but can be used to access or sort or display records, for eg “the postal code”.
Case Study: Cyber Toys
Cyber Toys” is a small chain that sells computer hardware and software and specializes in personal service. The company has 4 stores located at malls and is planning more. Each store has a Manager, a technician, and between one and four sales reps. The owner wants to create a personnel records database. The Analyst suggests fields for store number, location, store tel, manager name, and manager home telephone. Also, fields for technician name + technician tel and fields for up to four sales rep names + sales rep tel.
Magic Maintenance
Questions
1. Did any customers receive service after 5/4/2015? Who were they?
2. Did technician Marie Johnson put in more than 6 hours of labor on any service calls? Which ones?
3. Were any parts used on service calls in Washington? Is so, list the part numbers, descriptions, and quantities.
This Engineering has been solved by our PHD Experts at My Uni Paper.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.