Using Join


  1. 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. The clause that filters JOIN results is called _________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    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. The join where all possible row combinations are produced is called _________.











  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. In inner join, result is produced by matching rows in one table with rows in another table.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The inner join is a form of join in MySQL that is used to combine the result of concatenating the contents of two tables into a new table. In inner join, result is produced by matching rows in one table with rows in another table.



  1. SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns; Which of these is not optional?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Given above was a basic syntax of the SELECT statement. Everything in the syntax is optional except the ‘select_list’ option. All the others are free to be omitted, and will work fine.