Which of the following is the correct syntax to create a stored function that determines if a given string is a palindrome in MySQL?
Question 2
2 / 10
Which isolation level in MySQL guarantees that a transaction sees only committed data and prevents non-repeatable reads, phantom reads, and dirty reads, but may still suffer from lost updates?
Question 3
3 / 10
Consider a table 'employees' with columns 'id' (INT, PRIMARY KEY), 'name' (VARCHAR), and 'salary' (DECIMAL). Which of the following queries is the most efficient way to find the second highest salary?
Question 4
4 / 10
Which MySQL feature allows you to automatically execute a predefined SQL statement after a specific event (e.g., INSERT, UPDATE, DELETE) occurs on a table?
Question 5
5 / 10
What is the primary benefit of using Partitioning in MySQL with respect to query performance, specifically on large tables?
Question 6
6 / 10
What is the purpose of the `SQL_CALC_FOUND_ROWS` option in a `SELECT` statement, and how is it used with `FOUND_ROWS()`?
Question 7
7 / 10
When using `XA` transactions in MySQL, which of the following statements is used to prepare a transaction for a two-phase commit?
Question 8
8 / 10
Which of the following is the correct way to declare a cursor in a stored procedure in MySQL that allows updates to the data it retrieves?
Question 9
9 / 10
What is the role of the `innodb_flush_log_at_trx_commit` variable in MySQL's InnoDB storage engine?
Question 10
10 / 10
How does the `EXISTS` operator differ from the `IN` operator when used in a subquery regarding performance in MySQL, especially with large datasets?
Total Questions :
10
Answered Marked Not Visited
Instructions:
Navigation between questions is allowed.
Only selected answers will be saved.