My Report

MySQL Mock Test 1


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. What does 'abc' & 'xyz' specify in the following SQL statement?

CREATE TABLE abc (xyz);

Question 1 of 10

Question 2 of 10

2. When no modes are enabled, what does this SQL statement return?

SELECT @@SESSION.sql_mode;

Question 2 of 10

Question 3 of 10

3. The connection parameters for setting up MySQL can be stored in an option file to save typing the names every time a connection is established.

Question 3 of 10

Question 4 of 10

4. Which table stores information about the threads executing within the server?

Question 4 of 10

Question 5 of 10

5. Which of the following options tells mysql to ask for entering the password?

Question 5 of 10

Question 6 of 10

6. The information about table index characteristics is stored in which table of INFORMATION_SCHEMA?

Question 6 of 10

Question 7 of 10

7. The special database that always exists after setting up MySQL in a computer is __________

Question 7 of 10

Question 8 of 10

8. The number of attributes in the following SQL table is ______________

CREATE TABLE employee (
		emp_name CHAR(30),
		emp_id INT
	);

Question 8 of 10

Question 9 of 10

9. Which clause is used to sort query elements?

Question 9 of 10

Question 10 of 10

10. Post MySQL 6.0, utf8 was ___________

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.