Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

HOMEWORK

Given the relations below, answer the following queries using SQL. Note that the tables contain sample records only and do not represent all the possible records that could be stored in these tables.

MEMB ERS

MEMBER_ID

NAME

ADDRESS

BALANCE

1

Brooks

1 Main Street

9.50

2

Smith

2 Main Street

-30.00

3

Brown

3 Main Street

0.00

4

Jones

4 Main Street

10.00

ORDERS

ORDER_NO

MEMBER_ID

SNO

ITEM

QUANTITY

1

1

1

Vegetable Oil

2

2

1

3

Flour

1

3

2

1

Cauliflower

10

4

2

2

Sugar

2

5

2

1

Lettuce

2

6

2

3

Flour

1

7

4

3

Flour

1

8

4

2

Sugar

5

9

4

1

Vegetable Oil

1

SUPPLIERS

SNO

SNAME

CITY

1

A Produce

Chicago

2

B Supply

Oak Park

3

C Inc

Chicago

SUPPLIER_ITEM

SNO

ITEM

PRICE

1

Vegetable Oil

3.99

1

Cauliflower

1.00

1

Lettuce

0.75

2

Sugar

2.99

3

Flour

1.50

3

Vegetable Oil

4.00

1. Find the names of those members who have ordered something from a supplier that is located in chicago.

2. Get the supplier names and items of all suppliers that supply at least one item ordered by Brooks.

3. Use two different SQL statements, find the names of those members who have not placed any orders.

Week 1

1. Can we have different conceptual schema design for the same application?

2. How database design process differs from a system design process?

3. What are the lessons learned when you created your first ER-diagram?

4. Is ER-Model helpful in providing all the required information about the application for which this conceptual schema has been designed?

Week 2

1. How helpful are the SEVEN steps provided to you for mapping ER-Schema to a Relational schema?

2. Is there a situation that is not covered by the SEVEN steps provided to you for mapping ER-Schema to a Relational schema?

3. What issues you see if you have to design Relational schema without ER-Schema?

Week 3

1. How constraints can be enforced in SQL while implementing a given schema?

2. Is it fine to use too many JOIN operations in a query?

3. What issues you see if you have to design Relational schema without ER-Schema?

4. How can we reduce the amount of space used by query execution?

Week 4

1. Show an example data set organized in two different ways illustrating the difference between the application-oriented and subject-oriented organization of data?

2. Why do some organizations prefer not to create a data warehouse? What are other options?

3. What is business intelligence? Give some recent examples of BI usage.

4. What BI benefits have companies found?

DBMS, Programming

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

Guranteed 36 Hours Delivery, In Price:- $40

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 ...

Sql injection on a searchthe way search performs its task

SQL injection on a search The way Search performs its task is by executing the following query (in a php script):          $var=stripslashes($_POST['search']);          $query = "SELECT username from lab1_login where use ...

Question suppose we have two kinds of doctors hospital

Question : Suppose we have two kinds of doctors: hospital doctors and family physicians. In addition to the doctor's id number, name, specialty, and years of experience, we want to record the hospital name for the hospit ...

Question create an erd for the following scenarioa small

Question: Create an ERD for the following scenario. A small company ABC wants a database to keep track of internal company information. Â Given the following information create an ERD. The ABC Company has several departm ...

Sqlwrite a select statement that returns three columns from

SQL Write a SELECT statement that returns three columns from the Vendors table: VendorContactFName, VendorContactLName, and VendorName. Sort the result set by last name, then by first name.

Question create the physical data model for the logical

Question: Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL. Your submission should include all DDL needed to: Create the tab ...

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Suppose that we have a table of house prices and a table of

Suppose that we have a table of house prices and a table of zip codes: • hprices(hid (PK),address,bedrooms,price,zipcode) • zipcodes(zipcode (PK),state) Write a SQL query that finds the average, maximum, and minimum pric ...

Question 1 what isdata-manipulation language dml there are

Question: 1. What isData-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last_ ...

A taking an unnormalised list describe how you would

(a) Taking an unnormalised list, describe how you would normalise it using the normal forms technique and show how the result of this method is used. (b) You are currently in the process of developing a RDBMS for a natio ...

  • 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