Reference no: EM131065735
Assignment:
Write SQL VIEW Queries for the following relations.
PART (partID, name, brand, type, retailPrice)
SUPPLIER (suppID, name, address, countryID, phone)
PART_SUPPLIER (partID, suppID, qty, cost)
COUNTRY (countryID, name, regionID)
REGION (regionID, name)
1) Write a SQL query which creates a view containing the following attributes of the SUPPLIER relation.
suppID, name, address.
2) Write a SQL query which creates a view containing the following attributes from the PART and the SUPPLIER relations.
PART (partID, pName, retailPrice)
SUPPLIER (suppID, sName, phone)
3) Add a supplier through the view with the following information; id=10, name=Abdullah, phone=1234567.
4) Change supplier's phone number by 9876543 whose id=10.
5) Delete the view created in 1st query.
NOTE:
Every query must be executed through views.
Assignment Topic:
The topic of the assignment is SQL VIEW Statements.
Uploading instructions:
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
- Assignment submission through email is highly discouraged.
- Save your assignment with your ID (e.g. bx020200786.doc).
Rules for Marking:
It should be clear that your assignment will not get any credit if:
- The assignment is submitted after due date.
- The assignment is copied.
Objective:
- This assignment has been designed so that you understand the concept of SQL VIEW Statements.
Assignment submission instructions:
Your assignment should be in .doc format.
Streaming video on fruit guys
: Instructions: Watch the following streaming video on Fruit Guys, read the themes and plot statement and answer the questions below. Type your answers in a separate APA style document and submit the document in Blackboard.
|
What is the value of the new firms equity
: Sunburn Sunscreen has a zero coupon bond issue outstanding with a $20,000 face value that matures in one year. The current market value of the firm’s assets is $23,200. What is the combined value of equity in the two existing companies? What is the v..
|
Examine the agile method compared to traditional
: As you examine the agile method compared to traditional. Do you think agile would be easier to schedule or harder? Why? Why do you think agile is a methodology which is so demanded?
|
Dividend is expected to grow forever at constant rate
: Woidtke Manufacturing's stock currently sells for $32 a share. The stock just paid a dividend of $2.25 a share (i.e., D0 = $2.25), and the dividend is expected to grow forever at a constant rate of 3% a year. What stock price is expected 1 year from ..
|
Attributes of the supplier relation
: Write a SQL query which creates a view containing the following attributes of the SUPPLIER relation. suppID, name, address.
|
Mutually exclusive projects-cash flow
: Consider the following two mutually exclusive projects: Year Cash Flow (A) Cash Flow (B) 0 –$ 350,000 –$ 50,000 1 45,000 24,000 2 65,000 22,000 3 65,000 19,500 4 440,000 14,600 Whichever project you choose, if any, you require a 15 percent return on ..
|
Production schedule for line
: How did you establish your production schedule for each line? Did you establish your workforce complement? Finance: Did you acquire capital to fund capital expansions? Did you issue stock, short-term debt, or long-term bonds? if so, why?. Referenc..
|
Overview of critical chain project management
: What does the presenter suggest are the benefits and biggest challenges of implementing CCPM? Remember to cite your sources and list your references. Feel free to include embedded videos, slide notes, or voice record your explanations.
|
What will the cost of equity be
: Malkin corp has no debt but can borrow at 7 percent. The firm's wacc is currently 11 percent and there is no corporate tax. (a) What is Malkin's cost of equity? (b) If the firm converts to 30 percent debt, what will the cost of equity be? (c) If the ..
|