How you would divide the fields into different tables

Assignment Help Basic Computer Science
Reference no: EM13972963

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.

Reference no: EM13972963

Questions Cloud

Computing the internal rate of return : A project has an initial outlay of $1,554. It has a single cash flow at the end of year 10 of $5,577. What is the internal rate of return (IRR) for the project?
Margin of safety and the margin of safety ratio : Calculate the number of units that must be sold each month for the firm to break even. Assume current sales are $420,000. Calculate the margin of safety and the margin of safety ratio.
Estimate the phase difference : Use Figure to estimate the phase difference between g(x, t) and h(x, t) at t1 = 12.24 ms.
What mass of oxygen must have leaked into the bottle : Analysis of 1.00 mL showed that there were 0.0274 grams of acetic acid in that 1.00 mL. The density of ethanol is 0.816 g/mL and the density of water is 1.00 g/mL. What mass of Oxygen must have leaked into the bottle?
How you would divide the fields into different tables : How you would divide the fields into different tables so that all tables are fully normalized. This means no redundancy. Think about this one.
Computing the internal rate of return : A project has an initial outlay of $1,554. It has a single cash flow at the end of year 10 of $5,577. What is the internal rate of return (IRR) for the project?
Describe the mode of action of the antibiotic class : Summarize the topics you described and explain how the characteristics of your pathogen can be used to control it.
Margin of safety and the margin of safety ratio : Calculate the number of units that must be sold each month for the firm to break even. Assume current sales are $420,000. Calculate the margin of safety and the margin of safety ratio.
Calculate the moment of inertia : A discus thrower exerts a torque of 6 Nm on a 2.25 kg discus at an angular velocity of 6.3 rad/sec. The discus has a radius of gyration of 0.10 m. Assume that no other torque or force is acting on the discus than what is provided in this scenario...

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is a mantrap

What is a mantrap? How should it be used?

  Load with fresh data instead of waiting for the whole page

Discuss it with 1000 words. Web 2.0 encourages user participation, social interaction, and collaborating. Some of the technologies used are AJAX, Tagging, blogging, Wiki's, Really Simple Syndication (RSS), and podcast's and videocast's. AJAX al..

  Internet through the creation of a basic eportfolio

Create a presence on the Internet through the creation of a basic ePortfolio. The Portfolio should be three pages at a minimum and include:

  Develop a program that will allow the district sales manager

You have been asked to develop a program that will allow the district sales manager to input each of the dealership's ID along with their four quarterly sales volumes for the year, calculate and display each quarter's rebate and the sales bonus fo..

  Create a new excel 2013 spreadsheet

Create a new Excel 2013 spreadsheet, name it "Excel 2013 project 3" and follow these steps to include the following:

  Explaining anticybersquatting consumer protection act

What does Anticybersquatting Consumer Protection Act perform? How does this act cut down on nuisance suits?

  List several possible causes for the connectivity issues

A few months after you complete the migration you are contacted because one of the employees has had persistent issues logging on to the network and believes that you may have made an error during the migration. You need to check the workstation to v..

  Explain how you would use gagne''s 9 events of instructions

Discuss the advantages and difficulties in using terminal performance objectives that address the affective domain, rather than the cognitive domain. What data do you want to study to tell you the effectiveness of an eighth-grade class? Why? What dat..

  Signal that includes creating lpf

The next step is processing the signal that includes creating LPF, removing silent regions and scaling the signal in the time domain. Can someone help with the matlab code for this part of my project and the next 2 parts which include feature extract..

  Convenient way to document a system events

A use case is a convenient way to document a system's events. It serves as a kind of table of contents for the business events and activities that must be supported by the system. It will be used to identify how the system will be used and which a..

  Virtualization and cloud computing world

The popularity and rapid adoption of Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS) by a number of organizations has impacted internal IT / IS departments. These services provide a virtualization..

  Windows server 2003 and windows server 2008 as dc

What are the special considerations that exist in terms of having both windows server 2003 and windows server 2008 as DC

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd