Mysql Setup
- What is the clause that filters JOIN results called?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Sometimes the result of a join is very large and is not desirable. In these cases, the results can be filtered with the help of the ‘WHERE’ clause which is followed by a set of condition(s).
- What are CROSS JOIN and JOIN are similar to?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The joins ‘CROSS JOIN’ and ‘JOIN’ types are exactly similar to the ‘INNER JOIN’. The statements containing ‘INNER JOIN’ can replace it with ‘CROSS JOIN’ or ‘JOIN’ to get exactly the same result.
- Which mode exists at both global level and session-specific level?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The system variable ‘sql_mode’ that indicates the default SQL mode is an example of a variable that exists at both the global and session levels. This mode affects several aspects of SQL statement processing.
- What is the join where all possible row combinations are produced?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
In ‘cartesian product’, each row of each table is combined with each row in every other table to produce all possible combination. This produces a very large number of rows since the number is the product of rows.
- The largest value to which the variable ‘max_allowed_packet’ can be set is ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The ‘max_allowed_packet’ stores the maximum size to which the buffer used for client communications can grow. The largest value to which ‘max_allowed_packet’ variable can be set is 1GB.