QUESTION 2 a. Differentiate between () Single value and multiple valued atribute. (n) Relational Database and Objected Oricnted Databause b. What is a database? C. Consider the following relations with underlined primary keys. Product(PCode, Description, Stocking date, QpOnlland, MinQy, Price, Discount, VCode) Vendor(YCode, Name, Address, Phone) Here a vendor can supply more than one prodact but a product is supplied by only one vendor. Write SQL queries for the following ) List the names of all the vendors who supply more than one product. (6) List the details of the products whose prices exceed the average product price. (i) List the Name, Address and Phone of the vendors who are currently Jof 4

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 3TD
icon
Related questions
Question
QUESTION 2
a. Differentiate between
) Single value and multiple valued attribute.
(i) Relational Database and Objected Oricnted Database
b. What is a database?
C. Consider the following relations with underlined primary keys
Product(PCode, Description, Stocking date, QDOnland MinQy, Price, Discount,
VCode)
Vendor(YCode, Name, Address, Phone)
Here a vendor can supply more than one product but a product is supplied by only one vendor.
Write SQL queries for the following
) List the names of all the vendors who supply more than one product.
(i) List the details of the products whose prices exceed the average
product price.
(ii) List the Name, Address and Phone of the vendors who are currently
Jof 4
Transcribed Image Text:QUESTION 2 a. Differentiate between ) Single value and multiple valued attribute. (i) Relational Database and Objected Oricnted Database b. What is a database? C. Consider the following relations with underlined primary keys Product(PCode, Description, Stocking date, QDOnland MinQy, Price, Discount, VCode) Vendor(YCode, Name, Address, Phone) Here a vendor can supply more than one product but a product is supplied by only one vendor. Write SQL queries for the following ) List the names of all the vendors who supply more than one product. (i) List the details of the products whose prices exceed the average product price. (ii) List the Name, Address and Phone of the vendors who are currently Jof 4
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Dataset
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
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
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
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