Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Final Examination -

Q1. Short Answer Questions

1.1 - What are the four main things to be specified/drawn in the E-R diagram?

1.2 - What are the condition for relational tables to be in the 2NF?

1.3 - What are the conditions for relational tables to be in the 3NF?

1.4 - What is the difference between a regular database and a data-ware house in terms of their time horizons?

1.5 - What is the difference between a regular database and data-ware house in terms of their data details?

Q2. SQL Statements

Consider the following relational tables:

SalesPerson (SalesPersonID, SalesPersonName, Salary)

Customer (CustomerID, CustomerName, City)

SalesOrder (OrderNumber, CustomerID, SalesPersonID, Amount)

Please use SQL statements to answer the following questions:

2.1 - Show the names of all salespeople who earn more than $49,999 and less than $100,000 per year.

2.2 - Show each city and the number of customer for each city.

2.3 - Show the name of the salesperson with the highest salary.

2.4 - Show the names and salaries of salespersons who have an order with customer "John" (use a join).

2.5 - Show the names and salaries of salespersons who have an order with customer "John" (use a subquery).

Q3. Database Design

Develop a database to support the tracking needs of a university. The university wants to know: What student clubs does a student join (suppose a student can join several clubs or none, a club has many students). Which professor is the advisor of a club? (Suppose a professor can advice several clubs or none, and a club has exactly one professor as its advisor)? Please:

3.1 - Develop an E-R diagram for the database application.

3.2 - Map the E-R diagram to relational table structures. Each table should include table name, basic attributes, and the primary key. Please use an underline to indicate the primary key and a dashed line to indicate a foreign key if a table has.

Q4. Normalization of relational tables

Consider the following Student relational table and sample data (Note: This table is about student information)

Student

StudentID

StudentName

AdvisorName

AdvisorDepartment

6789

Rose

Dr. Zhou

Information Systems

7890

Bill

Dr. Smith

Management

8901

Dave

Dr. Smith

Management

9012

Bob

Dr. Zhou

Information Systems

0123

Bill

Dr. Zhou

Information Systems

1234

Susan

Dr. Parks

Management

Please answer the following questions:

4.1 - What is the primary key of the Student table?

4.2 - What are the problematic functional dependencies in the Student table? Name them.

4.3 - In what normal form is the Student table?

4.4 - Normalize the Student table to the 3NF. For each table, please use an underline to indicate the primary key and a dashed line to indicate a foreign key if a table has.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92746435

Have any Question?


Related Questions in DBMS

Project outline and requirements provide a brief

Project Outline and Requirements Provide a brief description of the organization (can be hypothetical) that will be used as the basis for the projects in the course. Include company size, location(s), and other pertinent ...

Your taskyou have been commissioned to develop a database

Your task You have been commissioned to develop a database system that is capable of keeping records for FU's table tennis matches from now on. The database needs to keep a record of: - All team information, including pl ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Databases assignment - monash library services monlib case

Databases Assignment - Monash Library Services (MonLib) Case Study TASK 1: Data Definition For this task you are required to complete the following: 1.1 - Add to your solutions script, the CREATE TABLE and CONSTRAINT def ...

In sql developer onlydeliverables include sql scripts and

In SQL Developer ONLY! Deliverables Include SQL scripts and screenshot of the results: D1. Create the following three user-defined roles that are shown in the table below and assign them the specified permissions for the ...

The case study company received a detailed report from the

The case study company received a detailed report from the ECM consultant with a detailed list of data requirements, tools, and processes that are currently used to manage this data. The chief executive officer (CEO) and ...

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Question as explained throughout this course entity

Question: As explained throughout this course, entity relationship modeling is a critical element of database design. If the database is not properly modeled, it is unlikely that the database will be properly developed. ...

Assignment -scenario setup a mock phase 3 clinical trial

Assignment - Scenario: Setup a Mock Phase 3 Clinical Trial for evaluating the efficacy of a Blood Pressure/Weight Loss/ or Muscle Strength Enhancement supplement. Assume that the testing takes place at a physician's offi ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

  • 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