List the names of customers who have ordered

Assignment Help Other Subject
Reference no: EM131155153

Consider the following relations with key underlined.

Customer(C#, Cname, Address)

Item(I#, Iname, Price, Weight)

Order(O#, C#, I#, Quantity)

Write SQL queries for the following:

a. List the names of customers who have ordered items weighing more than 1000 and only those.

b. List the names of customers who have ordered at least one item priced over Rs.500.

c. Create a view called "orders" that has the total cost of every order.

Reference no: EM131155153

Questions Cloud

Which a transaction passes through in its lifetime : What are the various states through which a transaction passes through in its lifetime? Briefly discuss all the events that causes transition from one state to another
Improve supply chain profitability : As a manager, please list and briefly describe at least three levers you would use to improve supply chain profitability.
Compare human service ethics standard with biblical standard : Search the web for ethical standards in the Human Services field, then find at least 5 Scriptures describing how we should treat others and care for them. Compare and contrast the Human Service ethics standards with biblical standards. How are the..
Effective lever for increasing supply chain profitability : List at least two conditions under which revenue management can be an effective lever for increasing supply chain profitability.
List the names of customers who have ordered : Write SQL queries for the following: List the names of customers who have ordered items weighing more than 1000 and only those. List the names of customers who have ordered at least one item priced over Rs.500
What is a quantity flexibility : What is a "quantity flexibility" contract and how can such a contract increase total supply chain profitability?
Calculate the electric field from this potential : Define voltage. Specifically, what does it mean to say that the voltage between two points is +25 volts - Calculate the electric field from this potential. Show that this electric field is conservative.
Reflect on your learning during the course : Reflect on your learning during the course and if you took English, on both of them as a set. Do you feel more skilled and confident as a writer than when you first began? Do you have less anxiety about writing papers as you move forward in your prog..
Examine five issues that the it department is likely to face : Examine five issues that the IT department is likely to face when it comes to supporting virtual teams. Describe five advantages and five disadvantages of using virtual teams for the organizations described in the scenario.

Reviews

Write a Review

Other Subject Questions & Answers

  Possible to make quick decision with absolutely no hard data

Is it possible to make a quick decision with absolutely no hard data (based entirely on intuition) and still be objective? Explain why this is possible (or why it is not possible)?

  State three common terms used in toxicology

Describe the contributions to toxicology that were made by early toxicologists. Be specific and include examples. State three common terms used in toxicology. Give a brief discussion for each one and include at least two examples

  Visible light-gamma rays-ultraviolet-radio waves and x rays

Listed following are various physical situations that describe how light interacts with matter. Match these to the appropriate category.  shortest to longest  visible light, gamma rays, ultraviolet, radio waves, x rays, infered.

  About the effect of cocaine on the brain

What do imaging studies show about the effect of cocaine on the brain?

  What do want to remember in the future

What do you think the little girl or boy you left behind would say to your current self? Present to Future - What do want to remember in the future? What values or dreams do you hope to hold on to or live in to

  Explain pressent health problem or nutritional need

Explain briefly the pressent health problem or nutritional need which you are experiencing, or health or nutrition problem you can predict experiencing because of family history.

  Accurate reflection of the issues facing parents

Discuss if this statement is still an accurate reflection of the issues facing parents today. Must be Harvard Referencing must be give on before 20 dec 2015

  Childhood and adolescent eating habits

How do childhood and adolescent eating habits, likes and dislikes influence adult dietary choices. Are these learned behaviors or genetically inclined?

  Techniques of audit testing

Following are the techniques of audit testing: Inspection, Observation, Inquiry, Confirmation, Computation, Analytical review

  My biological mom hates my limited mobility

My biological mom hates my limited mobility how can i get her stop nagging me about my limited mobility?

  What was the policy of containment

What was the policy of containment? Why was it criticized by Lippmann and others? Do you think it was a good policy for post-war America, why or why not?

  Calculate the total costs of delivering style

Calculate how many style A, B, and C shades can be loaded into an intermodal container - Calculate the total costs of delivering style A, B, and C shades to the port of importation.

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