Choose a topic to test your knowledge and improve your SQL skills
The expression 12 DIV 5 evaluates to ____________
If the PIPES_AS_CONCAT is disabled, 'abc' || 'xyz' results in ____________
'abc' || 'xyz', when PIPES_AS_CONCAT is enabled, results in ____________
The expression 2 BETWEEN 2 AND 5 results in ____________
The expression HI LIKE NULL results in _____________
Which of the following is the correct order of precedence (high to low)?
0x61 + 0 results in _____________
The AUTO_INCREMENT column attribute is best used with which type?
Which datatype is best suited to store currency values?
If a column is expected to store values up to 2 million, the best datatype for it is _____________
Which of these types store the longest length of strings?
Which of these values is not valid as an AUTO_INCREMENT value?
If an integer column is used for the values in range 1 to 99999, the best suitable datatype is ____________
INT2 maps to MySQL type _____________
INT3 maps to MySQL type _____________
Which of these return a result to the client?
Which of these is defined to execute when the table is modified only?
What executes on a time activated basis according to a schedule?
Which character does the mysql client program recognize as a statement delimiter?
Which command is used to redefined the mysql delimiter?
Which of the following statements does not modify the table?
To produce a stored function, which statement is used?
How many values can be returned from a given stored function?
How many values can be returned from a stored procedure?
Suppose a stored function named PI() is written in the database sampdb. How would it be called?
Which privilege must be given to the database to create a stored function or procedure?
Which variable is set to zero when automatic privilege granting is not needed?
Which procedure parameter enables the caller to pass in a value and get back a value?
For the same input parameters, if the stored function returns the same result, it is called _____________
What is abc in the following MySQL statement?
Which statement is used to create a trigger?
For which of the following are triggers not supported?
Which statement is used to remove a trigger?
Before MySQL 5.1.6 which privilege was required to create and drop triggers?
What is abc in the following MySQL statement?
Which of these is a stored program associated with a schedule?
Which of the following lines is used to turn on the event scheduler?
Which statement is used to check the status of the event scheduler at runtime?
Which value of event_scheduler enables checking status but not changing it at runtime?
Which log does the event scheduler log to?
Which clause specifies periodic execution at fixed intervals?
To create or drop events for a database, which privilege should be granted?
The default definer of an event is the user who _______________
The creation of a stored program is similar to the definition of a _______________
When the security context enables carefully written stored programs to be set up that provide controlled access to tables for users, it is called __________
When a user creates a stored program that accesses sensitive data but forgets that other people who can invoke the object have the same access, the security context is __________
A stored procedure is invoked using the statement __________
What produces result sets?
Which privilege is enabled to create of alter a stored function?