SQL MCQ Quiz Hub

SQL MCQ SET 7

Choose a topic to test your knowledge and improve your SQL skills

1. In which table of INFORMATION_SCHEMA is the information about table index characteristics stored?




2. What is the join where all possible row combinations are produced?




3. What is the clause that filters JOIN results called?




4. What are CROSS JOIN and JOIN are similar to?




5. The grant table that stores users who can connect to the server and their global privileges are ______




6. The stored-routine privileges are contained in _______




7. The statement used to obtain access privileges to an account is _______




8. The operators used when a subquery returns multiple rows to be evaluated in comparison to the outer query are _______




9. The ALL subquery performs the operation ______




10. The keyword used with UNION that does not retain duplicate rows is _______




11. The keyword used with UNION that retains duplicate rows is ________




12. The log that contains a record of server startups and shutdowns and the messages about exceptional conditions is ______




13. The log that identifies statements that may be in need of being rewritten for better performance is ________




14. The default value in seconds in the system variable ‘long_query_time’ is ______




15. The logging option to enable binary log index file is _______




16. The operators that are used when a subquery returns multiple rows to be evaluated in comparison to the outer query are ____________




17. The ALL subquery performs operations on _____________




18. What is the kind of delete when deletion of an employee from the table also deletes that employee from another table?




19. The storage engine in MySQL that provides foreign key support is ___________




20. What is the property of InnoDB that enforces foreign key relationships stay intact?




21. Which mode exists at both global level and session-specific level?




22. Which system variable determines the number of rows from INSERT DELAYED statements that can be queued per table?




23. The largest value to which the variable ‘max_allowed_packet’ can be set is _______




24. Increasing the value of which system variable enables mysqld to keep more tables open simultaneously?




25. The keyword used with UNION that retains duplicate rows is ___________




26. The search mode that uses natural language search as a subroutine is ________




27. For what can the FULLTEXT indexes be created for?




28. For which of these storage engines are configuration options always built?




29. The storage engine for which the runtime options are always enabled is ______




30. The most important configurable resource for MyISAM is _____




31. Which system variable enables mysqld to keep more tables open simultaneously?




32. How can a view refer to multiple tables?




33. What is the mantissa in -1.58E5?




34. What is the precision of BIGINT?




35. How many digits is the DECIMAL used for expressions containing only exact values with fractional part?




36. The LOCAL capability for client library is enabled by _______




37. What is the most important configurable resource for MyISAM?




38. How many options can be used to control LOCAL capability at runtime?




39. The mode used to turn off the special meaning of backslash and treat it as an ordinary character is ______




40. What is x’ffff’ in decimal?




41. What are X’61626364′ and X’61626364′?




42. The variable which represents the default time zone of the MySQL server is _______




43. The number of options that can be used to control LOCAL capability at runtime is _____




44. If an error occurs during the transaction the troubleshoot is ______




45. The ‘A’ in the ACID property of transactions is _____




46. The ‘C’ in the ACID property of transactions is ____




47. The datatype that means a variable length non binary string is _____




48. The date and time datatype that stores time value in ‘hh:mm:ss’ format is ______




49. The spatial datatype used to store a curve is _______




50. The option that supplies the pathname to root directory of MySQL installation is _______