Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Add/insert the following records to the PRODUCTS table: PRODUCTS PID Name Price Qty Category SID 101 Milk 3 20 Food 1521 102 Water 5

1.

Add/insert the following records to the PRODUCTS table:

PRODUCTS

PID

Name

Price

Qty

Category

SID

101

Milk

3

20

Food

1521

102

Water

5

35

Food

1522

103

Keyboard

10

5

Elect

1522

104

Bag

15

10

Apparel

1523

2. Display the unique CATEGORY in the PRODUCTS table. Sort the CATEGORY in descending order.

3.Display the name, qty, and category of all products whose QTY is in the range from 20 up to 30 in the PRODUCTS table.

4.Display all records in the PRODUCTS table

5.Change the STATUS of Oasis in SUPPLIERS table to Active.

SUPPLIERS

SID

SName

Address

Contact

Status

1521

Lulu

SLL

92214561

Active

1522

C4

MCT

92384792

Active

1523

Nesto

SLL

97451382

Active

1524

Oasis

NZW

97125813

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

=+17.14. 1 Extend the ideas in the preceding two problems to R *.

Answered: 1 week ago