Preview

Chapter 1 Level 1

Satisfactory Essays
Open Document
Open Document
689 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 1 Level 1
Chapter 1 Level 1
1. Plan the Employee and Customer tables needed in the 4Corners Pharmacy database using the information Don garnered during the discovery phase. Planning each table in this database will be a time consuming process. After you complete these two tables, challenge yourself to plan other tables.
This requires reviewing what data is already being collected, what data is not being collected, and what outputs the stakeholders at 4Corners Pharmacy want to see. You must then brainstorm to determine how this data might be divided into tables. Answers will vary, but several tables should be evident:
• Customers
• Drugs
• Prescriptions
• Doctors
• Employees
• Classes
In addition to these tables, more advanced students might see the need for the following tables:
• Health Plans
• Households
• Clinics
• Job Titles
• Refills
2. Name the Employee and Customer tables according to their contents and the Leszynski/Reddick naming conventions.
This will require adding the tbl tag (prefix) to table names. If you continue to plan additional tables, note also that to conserve space, the following suggested table names reduce Customers to Customer, Drugs to Drug, and so on, and abbreviate Prescriptions to Rx.
• tblCustomer
• tblDrug
• tblRx
• tblDoctor
• tblEmployee
• tblClass
• tblHealthPlan
• tblHousehold
• tblClinic
• tblJobTitle
• tblRefill
3. List the fields in each table.
Answers will vary, but fields might include:
• tblCustomer:CustID, CustFirst, CustLast, Phone, DOB, Gender, Balance, ChildCap, PlanID, HouseID, HeadHH, and Allergies
• tblEmployee: EmpID, EmpFirst, EmpMI, EmpLast, SSN, DOB, StartDate, EndDate, Address, City, State, ZIP, JobID, Memo, Phone, Cell, Salary, HourlyRate, and Review
If you continue with the challenge and create additional tables for the database, your fields may appear as follows:
• tblDrug: UPN, Name, Generic, Description, Unit, Dosage, DosageForm, Cost, Price, Interactions,PregCategory, and

You May Also Find These Documents Helpful

  • Satisfactory Essays

    The Kudler Foods need to design an entity relationship diagram to illustrate what needs to be on the table. A few of the tables could be combined to make reading the tables much easier. Kudler foods could combine inventory/order relationship, for example; order/sale relationship table, inventory/sale relationship table, and sale/receive payment relationship table. By combining any one of these tables Kudler Foods could process orders faster, find information faster by having the data in order and labeled and overall making the company’s system more efficient. One table Kudler Foods does not have that the management should consider which would benefit the business is an “employee table”. This way; Kudler could have personal information, sales numbers, last date he/she was reviewed, and just able to keep up…

    • 4521 Words
    • 87 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 3 Quiz

    • 501 Words
    • 3 Pages

    3. These fields are contained in the database: First Digit, First Two Digits, First Three Digits, and Second Digit Last Two Digits, Second Order and Summation Suspicious data, upper and lower boundaries, mean absolute deviation and parameters.…

    • 501 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Part 1 1. Write a script which will Create the needed tables as follows: a. Table name : DEPT i. Column datatype Mandatory? PK? FK?…

    • 1169 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    # Select a primary key for each table as indicated in the provided ERD diagram.…

    • 694 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 4

    • 1142 Words
    • 5 Pages

    4. Lynn is adding a billing table to a customer database. If she wants the database to retrieve…

    • 1142 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Simpson Case ACL

    • 651 Words
    • 10 Pages

    Question 7 Determine the customer name for any customer records you identified with the unusual transaction type. Even though customer names are not included in the sales transaction table, this table can be related to the Simpson master file table, which does include names.…

    • 651 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    List the relational operators and logical operators that can be used to form a validation rule.…

    • 636 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Databases play a role for the implementation of industry specific software for users and customers of Kudler Fine Foods. The use cases provided information on how data is readily available for use in reporting or forecasting future business. A relational database would be beneficial to the organization as it “…is usually designed with a number of related tables” (Rainer & Turban, 2008, p. 111). The tables are set up to give the user information on relational data from several accounting departments within the…

    • 757 Words
    • 4 Pages
    Good Essays
  • Better Essays

    With quickly accessing people’s information being very important as you don’t want to keep the customer working, being able to perform a complex query is critical. This can be done thanks to a language called TSL, which was developed to allow people to ‘Insert’, ’Update’, ‘Delete’, ‘Create’ and ‘Drop’ table records. You can narrow down these records even more if you use the ‘Where’ clause.…

    • 3057 Words
    • 9 Pages
    Better Essays
  • Satisfactory Essays

    Unit 2 Assignmt Mod 1

    • 685 Words
    • 5 Pages

    Create ONE table (monograph) per drug name listed below. There are two drug names so you will have a total of 2 monographs. Each monograph is worth 20 points.…

    • 685 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Your choices for the attributes for each table are shown below. The listing of "correct" choices is based on using all…

    • 1302 Words
    • 11 Pages
    Good Essays
  • Satisfactory Essays

    03

    • 4187 Words
    • 33 Pages

    If the CREATE TABLE is being used to create a table from existing data, the SUBQUERY keyword must be used.…

    • 4187 Words
    • 33 Pages
    Satisfactory Essays
  • Powerful Essays

    Dunelm Mill is one of the renowned and larger British based home furnishing retailers. It is also known as Dunelm Soft Furnishings Ltd. Dunelm Mill is having over 100 stores in UK and over 40 implant Pausa coffee shops. Headquarters of Dunelm Mill 's are based in Water mead Business Park in Leicestershire. Dunelm is also running its own factories for curtains, blinds and accessories in Leicester. (Dunelm, 2012)…

    • 2298 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    dos commands

    • 405 Words
    • 2 Pages

    The syntax of a “List the files which start with A and have the extension of .CPP” is:-…

    • 405 Words
    • 2 Pages
    Powerful Essays
  • Powerful Essays

    Thesis Proposal

    • 1190 Words
    • 5 Pages

    Since this program has been created in year 1999, there are some tables or queries which do not follow the correct naming convention. In this case, I will try to change it in this tutorial. But still the output must be the same with the model.…

    • 1190 Words
    • 5 Pages
    Powerful Essays