1
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
DAVID M. KROENKE and DAVID J. AUER DAVID M. KROENKE and DAVID J. AUER
DATABASE CONCEPTS, 4DATABASE CONCEPTS, 4thth EditionEdition
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-2
2
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-3
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-4
3
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-5
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
EmployeeNumberEmployeeNumber FirstNameFirstName LastNameLastName100100 MaryMary AbernathyAbernathy101101 JerryJerry CadleyCadley104104 AlexAlex CopleyCopley107107 MeganMegan JacksonJackson
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-6
107107 MeganMegan JacksonJackson
4
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
EmployeeNumberEmployeeNumber PhonePhone LastNameLastName100100 335335--6421,6421,
454454--97449744AbernathyAbernathy
101101 215215--77897789 CadleyCadley104104 610610--98509850 CopleyCopley
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-7
104104 610610 98509850 CopleyCopley107107 299299--90909090 JacksonJackson
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
EmployeeNumberEmployeeNumber PhonePhone LastNameLastName100100 335335--64216421 AbernathyAbernathy101101 215215--77897789 CadleyCadley104104 610610--98509850 CopleyCopley100100 335335--64216421 AbernathyAbernathy
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-8
yy107107 299299--90909090 JacksonJackson
5
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
TableTable RowRow ColumnColumn
FileFile RecordRecord FieldField
RelationRelation TupleTuple AttributeAttribute
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-9
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-10
6
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Unique KeyUnique Key NonNon--unique Keyunique Key
DataData valuevalue isis uniqueunique forfor eacheach rowrow..
Consequently,Consequently, thethe keykey willwill uniquelyuniquelyidentifyidentify aa rowrow
DataData valuevalue maymay bebe sharedshared amongamongseveralseveral rowsrows..
Consequently,Consequently, thethe keykey willwill identifyidentify aasetset ofof rowsrows..
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-11
identifyidentify aa rowrow.. setset ofof rowsrows..
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-12
7
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-13
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-14
8
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-15
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-16
9
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-17
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-18
10
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-19
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-20
11
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-21
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-22
12
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-23
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-24
13
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
ProjectProject
ProjIDProjID
ProjNameProjName
ManagerManager
MgrIDMgrID
MgrNameMgrName
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-25
MgrIDMgrID
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
DepartmentDepartment
DeptIDDeptID
DeptNameDeptName
EmployeeEmployee
EmpIDEmpID
DeptIDDeptID
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-26
LocationLocation EmpNameEmpName
14
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-27
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-28
15
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-29
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-30
16
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-31
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-32
17
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-33
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-34
18
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
ItemNumber ItemName Color Quantity
110 T Shi t Whit 2
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-35
110 T-Shirt White 2
120 T-Shirt Blue 45
200 T-Shirt Green 3
230 Hat Red 4
307 Hat
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-36
19
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-37
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-38
20
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-39
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-40
21
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-41
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-42
22
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-43
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-44
23
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-45
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Column Name Type Key Required Remarks
ContactID AutoNumber Primary Key Yes Surrogate Key
CustomerID Number Foreign Key Yes Long Integer
Date Date/Time No Yes Short Date
Type Text (10) No Yes Allowed values are Phone, Fax, Email and Meeting
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-46
Meeting
Remarks Memo No No
24
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-47
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
All fields from the CUSTOMER_CONTACT table appear on the form
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-48
pp
Form browsing buttons
25
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-49
All contact data for each customer is grouped together and sorted by date
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
The Email address has been updated
Next record button
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-50
26
KROENKE and AUER - DATABASE CONCEPTS (4rd Edition) © 2010 2008 Pearson Prentice Hall
Course: CIS2/DE4, Course Teacher: D. M. Akbar HussainDepartment of Electronic Systems 2-51
A modification problem has occurred. Not all records were updated with the new email address, and the database records are now inconsistent.
Top Related