Mysql Setup


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











  1. 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).


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











  1. 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.



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











  1. 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.


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











  1. 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.



  1. The largest value to which the variable ‘max_allowed_packet’ can be set is ______________.











  1. 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.