My Report

MySQL Mock Test 2


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. Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this?

Question 1 of 10

Question 2 of 10

2. What is abc in the following MySQL statement?

	SELECT * FROM my_table WHERE MATCH(abc) AGAINST('xyz');

Question 2 of 10

Question 3 of 10

3. The ALL subquery performs which operation?

Question 3 of 10

Question 4 of 10

4. Which search mode uses natural language search as a subroutine?

Question 4 of 10

Question 5 of 10

5. Which key declares that an index in one table is related to that in another?

Question 5 of 10

Question 6 of 10

6. If attribute “fruit” stores data as “apple, mango, banana” in table person then what will be the output of the following SQL command?

    SELECT fruit FROM person
    WHERE person_id=1
    ORDER BY fruit;

Question 6 of 10

Question 7 of 10

7. Which command is used on Mysql command line tool to return to window command shell?

Question 7 of 10

Question 8 of 10

8. A FULLTEXT index cannot be created for multiple columns.

Question 8 of 10

Question 9 of 10

9. Which keyword is used to delete all the rows from the table?

Question 9 of 10

Question 10 of 10

10. What is the durability property of transactions?

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.