Home > Databases > Quizzes > MySQL Basics Practice Test: SQL Syntax
MySQL Basics Practice Test: SQL Syntax
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 63% Most missed: “The statement that alters an existing event to have the given definition is ____…”
Quiz on SQL statement syntax, compound statement and comment syntax. SQL syntax is a set of rules and guidelines that define how to perform actions on data in a database. SQL statements must start with a keyword, and all end with a semicolon. SQL is case insensitive, so SELECT and Select have the same meaning.  Here are some examples of SQL statements: SELECT: Reads data from the database and displays it to the user UPDATE: Modifies data in the database DELETE: Deletes data from the database CREATE DATABASE: Creates a database USE: Changes the current location to the required... Show more
MySQL Basics Practice Test: SQL Syntax
Time left 00:00
25 Questions

1. Which statement upgrades the database directory name encoding?
2. The statement that constructs a branching flow-control construct is _____________
3. Association between one or more MyISAM tables and the named key cache is set by _____________
4. Converting a client/server application to embedded server is difficult.
5. What sets the association between one or more MyISAM tables and the named key cache?
6. The MySQL double dashed comment style is the same as the SQL standard.
7. What does mysql_init() return?
8. When linking to a static MySQL C client library, the client library and the client application can use different compiler options.
9. The statement that exits a labeled flow-control construct is _____________
10. The statement that alters an existing event to have the given definition is _____________
11. Which of these is not a comment specifying construct?
12. Which statement terminates the execution of a function?
13. The option that is necessary to compile a C program having math functions is _____________
14. The option that executes all SQL statements in a SQL script irrespective of the number of errors is _______________
15. What can be used in place of MYSQL_SERVER_VERSION?
16. What sets up an association between one or more MyISAM tables and the named key cache?
17. What does ‘mysql_query()’ return on failure?
18. Which statement can produce the same output as ‘SHOW COLUMNS’?
19. The file that can be used to execute multiple compile statements is _________________
20. What can be used interchangeably with MYSQL_VERSION_ID?
21. Which statement exits a labeled flow-control construct?
22. The header that should be included first is ________________
23. The option that executes all SQL statements in a SQL script irrespective of the number of errors is _____________
24. The clause that is used to display information that matches a given pattern is _____________
25. Which option is used for specifying the executable name while compiling with gcc?