Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assignment

THIS MUST BE YOUR OWN UNIQUE WORK: you cannot have the exact same table as another student and you cannot turn in something you find online!Your work will be checked against a plagiarism database.

The format must be Microsoft Word (or an equivalent .rtf word processor file). You must create a new database with at least four tables. In creating this database you must:

1. Create a correct ER diagram for the database (this can be done by hand, but if done by hand it should be converted to electronic format by camera or scanner and embedded inside your word document). The ER diagram must correctly use the conventions we used in class for rectangles, dashed and solid lines, cardinality symbols etc. OR if you use database software to create your ER that uses slightly different diagramming symbols you must have a key that clearly explains the symbols you are using (if you provide a diagram using a symbol or convention and do not provide an explanation I have to assume you just made a mistake in creating your diagram).

2. List all functional dependencies and confirm that the database is in at least 4NF (do not assume the functional dependencies are obvious from the ER diagram or SQL create statements).

3. Use SQL commands to create and populate the database (there do not need to be many rows but every table must have more than ten rows) and enforce maximum and minimum cardinality. If you need triggers to enforce cardinality, you do not have to create the triggers,however, you MUST list that triggers are needed when necessary (what would need to be done to enforce cardinality).

4. Create four example SQL queries that would use the database that must include a minimum of:

a. an aggregate function
b. a join
c. a nested query
d. a derived table

Note, the intended use of each query should be listed (for example "this query brings back the number of cars of each employee").

5. Format notes: the final project must have a professional format, your paper may contain explanations of the code, but at the end of your paper I want all of the SQL grouped without comments so that it may be easily copied and pasted from your document into my database SQL editor (so that I can quickly test your code). Failure to follow these format guidelines will result in a loss of points (up to 11% of the final project grade).

Common problems with this project from previous semesters (mistakes NOT to make):

Did not use dashed lines for strong entities in E-R diagrams

Forced single entities into multiple tables

Didn't give me the final ER diagram (ER diagram and tables didn't match)

Identifiers in ER diagram didn't become primary keys

ER diagram wasn't a true ER diagram it was part finished tables, part ER diagram.

Didn't show cardinality

Used some unknown symbol in the ER diagram

Incorrectly identified cardinality

Listed a column as a FK that was not a PK in another table (this would not be possible)

Create a table with a single column

Didn't create intersection tables with M:N cardinality

Didn't say triggers were necessary for minimum cardinality O-M and M-M cases

Mistakes with functional dependencies: functional dependencies sometimes included items that were not dependent on the determinant or other obvious mistakes, not all functional dependencies were listed

SQL syntax mistakes

For the database, I would like to use something medical, as that is my field. Perhaps, patient name, Medical Record Number, Tests? If possible, it would seem more like original work.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92078872
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in DBMS

Case study problem 1 the case study company has experienced

Case Study: Problem 1 The case study company has experienced rapid growth in both the size of its client base and also in the services provided to clients. Unfortunately, the growth in data management policies, procedure ...

Backgrounda new training organization called abc

Background A new training organization called ABC TechTraining is opening soon and they have approached you to help design their new database. They have just completed the refurbishment of the premises and are now lookin ...

Instructionsfor decades relational databases remained

Instructions For decades, relational databases remained essentially unchanged; data was segmented into specific chunks for columns, slots, and repositories, also called structured data. However, in this Internet of Thing ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

Tableau is business intelligence software that helps people

Tableau is business intelligence software that helps people see and understand their data. Fast Analytics Connect and visualize your data in minutes. Tableau is 10 to 100x faster than existing solutions. Ease of Use Anyo ...

Sql transactions exercisesconsider table itemnameprice

SQL Transactions Exercises Consider table Item(name,price) where name is a key, and the following two concurrent transactions. T1: Begin Transaction; Update Item Set price = 2*price Where name = 'pencil'; Insert Into Ite ...

Assignment question - write and run sql statements to

Assignment Question - Write and run SQL statements to complete the following tasks Part A - DML 1. Locate the record in the vendor table that does not have a value for the attribute V_STATE 2. Find the customers whose ba ...

Query 1 the bookstore has decided to keep track of the

Query 1: The bookstore has decided to keep track of the vendors' information. In order to do this, one new table will be added to the database. The schema for this table, as related to the existing tables, is the followi ...

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

Question lab 1 creating a database designthis assignment

Question: Lab 1: Creating a Database Design This assignment contains two (2) Sections: Database Design Diagram and Design Summary. You must submit both sections as separate files in order to complete this assignment. Not ...

  • 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