Question: Question N . 1 2. Using the following relations to write SQL statement that follows: Product (product_name, price, category, company_name) Company (company_name, stockPrice, country) a-

Question N . 1

2. Using the following relations to write SQL statement that follows:

Product (product_name, price, category, company_name)

Company (company_name, stockPrice, country)

a- Find all products produced by USA and have a price greater than 500.

b- Find the Categories that a product might belong to. Make sure that the category is not repeated and it is listed in ascending order.

c- delete all products with that belong to SONY company.

Question N . 2

3.a List the three design goals for relational databases, and explain why each is desirable.

3.b What is the result of an arithmetic expression involving nulls, for instance, what 7 + null would return?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!