0% found this document useful (0 votes)
35 views1 page

Test 11-2

Uploaded by

sawonly.93
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Test 11-2

Uploaded by

sawonly.93
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. Differentiate between Candidate Key and Alternate Key with an example.

2. Ms Purva wants to create a database with her name,and then she wants to
switch to the newly created database.Help her to write both the sql statements.
_______________statement 1
________________statement2
3. Check the following table:-

i)Write SQL command to display the structure of the table SCHEDULE


ii)Write SQL command to create one new row in the table.
iii)Write SQL command to add a new column “Revenue” to the table
4. Check the table Stock given below:-

Write SQL queries for the following:


(a) To display the records in decreasing order of quantity.
(b) To display category and quantity of the
Products if quantity is ranged between 10 to 15.
(c) To display the details of the products whose name starts with “M”
(d) To increase the price of all the monitors by 100.

You might also like