MySQL Database Operations
-  What is the property of InnoDB that enforces foreign key relationships stay intact?
 
- 
                        
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The storage engine responsible for providing foreign key support is InnoDB. It enforces that the rules guarantee the foreign key relationship stays intact with no mismatching of data.
 
-  The storage engine in MySQL that provides foreign key support is ___________.
 
- 
                        
View Hint View Answer Discuss in Forum
NA
Correct Option: A
In MySQL, there are a list of storage engines to choose from. Each storage engine provides its own set of facilities. The foreign key facilities are provided by the InnoDB storage engine.
 
-  What is the kind of delete when deletion of an employee from table also deletes that employee from another table?
 
- 
                        
View Hint View Answer Discuss in Forum
NA
Correct Option: A
In MySQL, a cascaded delete and update is possible where records can be deleted from multiple tables. These tables are related with the help of foreign keys. Foreign keys make table updates flexible.
 
-  The ALL subquery performs operations on _____________.
 
- 
                        
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The operators ‘ALL’ and ‘ANY’ are used to perform operations on columns. They are used in conjunction with a comparison operator in order to test the result of a column subquery.
 
-  The operators that are used when a subquery returns multiple rows to be evaluated in comparison to the outer query are _____________
 
- 
                        
View Hint View Answer Discuss in Forum
NA
Correct Option: D
When there is a need to evaluate multiple rows in comparison to the outer query, the ‘IN’ and ‘NOT IN’ operators are used. They are used for testing whether a comparison value is present in a set of values.