CSC 321, Dr. Zhen Jiang Lab Exercise #1 Building a Database
Total Page:16
File Type:pdf, Size:1020Kb
CSC 321, Dr. Zhen Jiang Lab Exercise #1 – Building a database
Create a new database with the name JSPRecruiters. Save it to your flash drive a) Create the client table shown below. All fields are type of text (except for Amount Paid and Current Due) which are Currency. Client Client Client Postal Amount Current Recruiter Street City State Number Name Code Paid Due Number AC34 Alys Clinic 134 Central Berridge CO 80330 $0.00 $17,500.00 21 BH72 Berls 415 Main Berls CO 80349 $29,200.00 $0.00 24 Hospital BL12 Benton 12 Denton CO 80412 $16,500.00 $38,225.00 24 Labs Mountain EA45 ENT 867 Ridge Fort CO 80336 $12,750.00 $15,000.00 27 Assoc. Stewart FD89 Ferb 34 Berridge CO 80330 $21,000.00 $12,500.00 21 Dentistry Crestview FH22 Family 123 Tarleton CO 80409 $0.00 $0.00 24 Health Second MH56 Maun 76 Dixon Mason CO 80356 $0.00 $43,025.00 24 Hospital PR11 Peel 151 Fort CO 80336 $31,750.00 $0.00 21 Radiology Valleyview Stewart TC37 Tarleton 451 Hull Tarleton CO 80409 $18,750.00 $31,500.00 27 Clinic WL56 West Labs 785 Main Berls CO 80349 $14,000.00 $0.00 24
b) Create the Recruiter table shown below - All fields are type of text, except for Rate (type Number-single-fixed ) and Commission (type Currency). Recruiter Recruiter Last First Postal Street City State Rate Commission Number Name Name Code 21 Kerry Alyssa 261 Tourin CO 80416 0.10 $17,600.00 Pointer 24 Reeves Camden 3135 Brill Denton CO 80412 0.10 $19,900.00 27 Fernandez Jaime 265 Charleston CO 80380 0.09 $9,450.00 Maxwell 34 Lee Jan 1827 Oak Denton CO 80413 0.08 $0.00