Ask Computer Engineering Expert

ACCESS DB homework

This week you'll have a few things to do.

Review reading material from the last two weeks.

Analyze 2 database design situations

You're going to start analyzing some database situations, to make decisions as to how you would set them up. This is the type of work that we need to do all the time in Access looking at a situation that demands a database, and then deciding what needs to go into the database and how the fields need to be distributed in order to accomplish the objectives of the database.

Take a look at the following two situations, and decide how you would set these databases up. What would your tables be called, and which fields would go into each table? Use the Leszynski Naming Convention for all object names. Which fields would be defined as the Primary key field in each table? Which fields would be defined as Foreign Key fields? What type of relationship would you create between the tables?

Use either Microsoft Word or Excel to indicate how the different tables would be defined.For example, you could do something like the following:

tblEmployees

*strEmpID (primary key field - used in One-to-Many relationship with tblProjects, connecting on thestrEmpID foreign key field of tblProjects.)

strEmpFirstName

strEmpLastName

sngHours

curPayRate

dtmDateOfHire

strDept

tblProjects

*strProjectNumber (primary key field connecting to the strProjectID foreign key field in tblProjectDetails.)

strEmpID (foreign key field connecting to the strEmpID field in tblEmployees.)

dtmProjectStartDate

dtmProjectEndDate

ysnCompleted

sngHoursSpent

curCostOfProject

Or, you could do it in graphic format, as in the following example that was prepared in Excel:

Regardless of the method you choose to present your database design, you need to focus primarily on two things:

How you would divide the fields into different tables so that all tables are fully normalized. This means no redundancy. Think about this one.

How you would join the various tables, through relationships, and what type of relationship you propose between tables. Keep in mind the important fact that no single table can (or should) be left unrelated to other tables.

You want to avoid redundancy here, so keep that in mind as you consider the division and distribution of fields.

Database Design Situations

How Would You Set These Databases Up?

Example #1

Situation

You want to keep track of the following employee information:

Name
ID#
Address
City
State
ZIP
Home phone
Hire date
Department code
Number of hours they work
Hourly pay rate
Health Plan (1 = Insurance, 2 = Insurance with Dental, 3 = Single HMO, and 4 = Family HMO)
Weekly cost of health plan
Parking lot to which the employee is assigned
Parking lot rate

What Would You Do?

How would you divide these fields in order to avoid redundancy? Lay out the different tables that you would propose creating, with the fields that would be in each of the tables. Be sure to use theLeszynski Naming Convention for all object names.

Which fields would be defined as the Primary and Foreign key fields in each table?

What type of relationship would you create between the tables? Which fields would be joined to which other fields?

Example #2

Situation

You work in a Veterinarian's office and need to organize the data on pets that you treat. In your database, you want to keep track of the following information:

Customer information:

Name
Address
City
State
ZIP
Phone #
Year of first visit
Date of last visit
Discount
Outstanding balance

Pet information:

Name
Type of animal
Breed
Date of birth
Gender
Neutered/Spayed?
Length of animal
Weight of animal
Last visit date
Current vaccinations
Picture of animal
Comments on animal
Date of visit
Follow-up visit date
Total amount billed for visit
Payment type
Date paid
Amount paid
Taxable?
Tax Rate
Invoiced?
Details on the individual visits:

Type of visit
Treatment code
Medication code and price
Details on all medications and visits:

Medication name
Medication price
Treatment name
Treatment price
What Would You Do?

How would you divide the data? Again, lay out the different tables that you would propose creating, with the fields that would be in each of the tables. Be sure to use the Leszynski Naming Convention for all object names.

Which fields would be defined as the Primary and Foreign key fields in each table?

What type of relationship would you create between the tables? Which fields would be joined to which other fields?

What To Do With Your Answers:

Now that you've thought about how you would design these databases and you've addressed the issues of data division and distribution, normalization of tables, key fields, and relationships, I'd like you to provide me with a summary of your decisions. Lay it all out using either of the two methods described above (i.e., text or graphic, Word or Excel), and submit it ithrough the Assignment Link.

Your design can be indicated in either a Word or an Excel document (I do not want you to use Access), whichever makes more sense to you or whichever application you're more comfortable with. Just make sure it is crystal clear to me how you would divide the data for these databases and the relationships that you would create.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91647893
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As