Cs Questions
Cs Questions
1
CS-VIVA QA-for Practical Exam
2
CS-VIVA QA-for Practical Exam
SQL
43. Which command is used to add new columns to the existing table
Ans : Alter Command
44. Which command is used to count the number of records in a table
Ans : Using Count() group function
45. Differentiate between drop and delete command in SQL
Ans : drop command is used to delete entire structure of the table .
delete command is used to delete the records of the table.
46. Which clause in SQL is used to sort the records based on one or more columns
Ans : Order By clause
47. Which command is used to modify the records of the table
Ans : Update Command
48. Mention the DDL commands in SQL
Ans : Create , Alter and Drop commands
49. Mention the DML commands in SQL
Ans : Select , Insert , update and delete commands
50. Which command is used to retrieve the records of the table.
Ans : Select Command
-------------------------------------------------------------------------------