My Report

MySQL Mock Test 4


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. The option which delays index flushing for slave server is _________________

Question 1 of 10

Question 2 of 10

2. What jobs “Query Optimizer” perform in Mysql?

Question 2 of 10

Question 3 of 10

3. Which statement is used to remove a trigger?

Question 3 of 10

Question 4 of 10

4. Which statement issues a lock on tables?

Question 4 of 10

Question 5 of 10

5. If a column contains 7 values and 6 distinct values, the cardinality is __________

Question 5 of 10

Question 6 of 10

6. Suppose tbl_1 is a table consisting of 8 rows and tbl_2 is a table consisting of 6 rows, the number of combinations through which the search is performed is __________

SELECT tbl_1.i1, tbl_2.i2
	FROM tbl_1 INNER JOIN tbl_2
	WHERE tbl_1.i1 = tbl_2.i2;

Question 6 of 10

Question 7 of 10

7. To maintain performance of tables having variable length rows, which statement is used?

Question 7 of 10

Question 8 of 10

8. What is def in the following MySQL statement?

DECLARE abc HANDLER FOR def ghi;

Question 8 of 10

Question 9 of 10

9. To create or drop events for a database, which privilege should be granted?

Question 9 of 10

Question 10 of 10

10. The use of table level locks is always useful in MyISAM tables.

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.