Professional Documents
Culture Documents
3 QP
3 QP
3 QP
(ii.) Write the command to display the tables created in a database and write command to
view the structure of the table.
10. (a.)Give full form of IoT and WoT 1 mark 3
(b.)Explain NLP give any two examples. 2 marks
SECTION – C
Each question carries 4 marks
11. Differentiate between with example- 4
(a.) Delete and Drop command
(b.) Alter and Update Command
12. Study the following table DOCTOR and answer the following questions:- 4
TABLE : DOCTOR
OR
i.) Write the SQL Query to display the records of ENT department.
ii.) Write the SQL Query to update the experience of all doctors by 1.
iii.) Write the SQL Query to display Name, Dept in ascending order by and then by
experience in descending order.
iv.) Write the SQL Query to ADD Primary Key to column ID in the existing table.
13. Consider the “Sales” table : 4
b) Which of the following command(s) will display all sales whose date of joining is
after 31st March 2018.
i. Select * from Sales where dateofjoin>=”31-03-2018”;
ii. Select * from Sales where dojoin>=”2018-03-31”;
iii. Select * from Sales where dojoin>”2018-03-31”;
iv. Select * from Sales where dojoin>”2018/03/31”;
c.) Select Area, Ename as Employee, Amount *0.01 as PF from Sales where
Area=”East” OR Area=”West;