Data environment The SPJ company manages the orders of the parts from the suppliers for the projects that run at other companies. A project is described with the project identifier, name, company where the project takes part, budget, start date, and the duration of the project. A part is presented with the part identifier, name, and price. A supplier is described by the supplier identifier, name, address, city and phone number. For each order of a product from a given supplier for a given project, we store the number of parts ordered, the price of the order, the date, and the comment. The information system SPJ includes the following tables. Parts pid, name, price ); Projects( jid, name, company, budget, start, duration ); Suppliers sid, name, address, city, phone ); Orders oid, pid, jid, sid, quantity, price, date, comment ); a) Print the names of parts that cost less than 100 EUR and were supplied by a supplier from Koper in a quantity that was more than 10000. Use QBE! b) Print the ID and name of a supplier who supplied the largest number of parts with ID 35 in 2022. Use SQL!

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 3.2CP
icon
Related questions
Question
Data environment
The SPJ company manages the orders of the parts from the suppliers for the projects
that run at other companies. A project is described with the project identifier, name,
company where the project takes part, budget, start date, and the duration of the project.
A part is presented with the part identifier, name, and price. A supplier is described by
the supplier identifier, name, address, city and phone number. For each order of a
product from a given supplier for a given project, we store the number of parts ordered,
the price of the order, the date, and the comment.
The information system SPJ includes the following tables.
Parts pid, name, price );
Projects( jid, name, company, budget, start, duration );
Suppliers sid, name, address, city, phone );
Orders oid, pid, jid, sid, quantity, price, date, comment );
Transcribed Image Text:Data environment The SPJ company manages the orders of the parts from the suppliers for the projects that run at other companies. A project is described with the project identifier, name, company where the project takes part, budget, start date, and the duration of the project. A part is presented with the part identifier, name, and price. A supplier is described by the supplier identifier, name, address, city and phone number. For each order of a product from a given supplier for a given project, we store the number of parts ordered, the price of the order, the date, and the comment. The information system SPJ includes the following tables. Parts pid, name, price ); Projects( jid, name, company, budget, start, duration ); Suppliers sid, name, address, city, phone ); Orders oid, pid, jid, sid, quantity, price, date, comment );
a) Print the names of parts that cost less than 100 EUR and were supplied by a
supplier from Koper in a quantity that was more than 10000. Use QBE!
b) Print the ID and name of a supplier who supplied the largest number of parts
with ID 35 in 2022. Use SQL!
Transcribed Image Text:a) Print the names of parts that cost less than 100 EUR and were supplied by a supplier from Koper in a quantity that was more than 10000. Use QBE! b) Print the ID and name of a supplier who supplied the largest number of parts with ID 35 in 2022. Use SQL!
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning