Intermediate MySQL MCQ Interview Question’s & Answer’s Intermediate MySQL 1 / 10 Is it important to provide where condition with update statement in MYSQL? YES NO 2 / 10 What does the show tables command do? It displays all the tables of all the databases in the machine. It displays all the tables of a particular database. It only displays the current table. It only displays the all table. 3 / 10 Suppose you are asked to drop a column using alter statement then which syntax you will follow? ALTER table_name TABLE DROP COLUMN column_name; ALTER TABLE table_name DROP COLUMN column_name; 4 / 10 Suppose you have a table named to test and inside this table you have a column named CGPA now if you are asked to change the column named CGPA to total percentage, using alter command then which of the following statement you will write? ALTER TABLE test CHANGE COLUMN 'cgpa’ 'total_percentage’ int; ALTER test table CHANGE 'cgpa’ ,'total_percentage’ int; ALTER TABLE test CHANGE 'cgpa 'total_percentage’ int; ALTER TABLE test CHANGE 'cpa 'total_percentage’ int; 5 / 10 Can you change the column name using alter command? Yes No 6 / 10 Which of the following is the correct syntax to add a field using alter command? ALTER TABLE table_name ADD field_name data type; ALTER TABLE table_name, field_name data type; ALTER TABLE field_name data type; ALTER TABLE field_name data; 7 / 10 ALTER command is a type of which SQL command? DML DDL DCL DQL 8 / 10 Which of the following command is used to delete a database? DELETE DATABASE_NAME; DROP DATABASE_NAME; DROP DATABASE DATABASE_NAME; DELETE DATABASE DATABASE_NAME; 9 / 10 If our database name is 'schooldb' and we want to drop this database will the query work if we will write our database name in capital letters? Yes No 10 / 10 In the following statement, what do you mean by the 'student'? Database name Row name Column name Table name Your score isThe average score is 0% 0% Restart quiz