Parts( pid, name, price); Projects( jid, name, company, budget, start, duration ); Suppliers sid, name, address, phone ); Orders oid, pid, jid, sid, quantity, amount, date, comment ); a) Write a query that returns the IDs and names of projects started after 2010, and the sum of the amounts for their orders of the part named "Wheel-x." Use SQL and QBE!

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter2: Data Models
Section: Chapter Questions
Problem 15P
icon
Related questions
Question
Parts( pid, name, price);
Projects( jid, name, company, budget, start, duration );
Suppliers sid, name, address, phone );
Orders oid, pid, jid, sid, quantity, amount, date, comment );
Transcribed Image Text:Parts( pid, name, price); Projects( jid, name, company, budget, start, duration ); Suppliers sid, name, address, phone ); Orders oid, pid, jid, sid, quantity, amount, date, comment );
a) Write a query that returns the IDs and names of projects started after 2010,
and the sum of the amounts for their orders of the part named "Wheel-x." Use SQL and
QBE!
Transcribed Image Text:a) Write a query that returns the IDs and names of projects started after 2010, and the sum of the amounts for their orders of the part named "Wheel-x." Use SQL and QBE!
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage