subject

Suppliers(sid: integer, sname: string, address:string)Parts(pid: integer, pname: string, color: string)Catalog(sid: integer, pid: integer, cost: real)The Catalog relation lists the prices charged for parts bySuppliers. Write the following queries in SQL:1) Find the sids of suppliers who supply a red part and a greenpart.2) Find the sids of suppliers who supply a red part or a greenpart.3) For every supplier that only supplies green parts, printthe name of the supplier and the total number of parts that shesupplies.4) For every supplier that supplies a green part and a redpart, print the name and price of the most expensive part that shesupplies

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What is the original authority for copyright laws
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 24.06.2019 12:10
What is it called during the editing process when the processor ensures that a character holding a coffee mug from one angle is holding the same mug in the same way when the shot switches to another camera at another angle? cinematography continuity technology prop use
Answers: 1
You know the right answer?
Suppliers(sid: integer, sname: string, address:string)Parts(pid: integer, pname: string, color: stri...
Questions
question
Mathematics, 20.12.2020 14:00
question
English, 20.12.2020 14:00
question
English, 20.12.2020 14:00
question
Mathematics, 20.12.2020 14:00
question
Medicine, 20.12.2020 14:00
question
Biology, 20.12.2020 14:00