--:--









Quiz for Creating and Dropping Indexes

Course: SQL | Subject: SQL | Topic: Views & Indexes



Logo

Q1: Which SQL command is used to remove an index from a table?

Logo

Q2: Which SQL command is used to create an index?

Logo

Q3: Which SQL command removes an existing index?

Logo

Q4: What does an index improve in a database?

Logo

Q5: Which type of index allows duplicate values?

Logo

Q6: What happens if you drop a primary key constraint?

Logo

Q7: Which clause specifies the table for index creation?

Logo

Q8: What is the correct syntax to create a simple index?

Logo

Q9: Can an index be created on multiple columns?

Logo

Q10: How do indexes affect INSERT and UPDATE operations?

Logo

Q11: Which is true about clustered indexes?

Logo

Q12: Which index prevents duplicate values in a column?

Logo

Q13: What is a disadvantage of having too many indexes?

Logo

Q14: Which type of index is best for full-text search?

Logo

Q15: Which storage structure do B-tree indexes use?

Logo

Q16: What happens when you drop a non-clustered index?

Logo

Q17: How can you check existing indexes on a table in MySQL?

Logo

Q18: Which statement creates a unique index?

Logo

Q19: What happens if a unique index condition is violated?

Logo

Q20: What is a filtered index?

Logo

Q21: Which index type is faster for exact match lookups?

Are you ready to start test? Set your time limit