Using Join
- 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.
- The clause that filters JOIN results is called _________.
-
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).
- The join where all possible row combinations are produced is called _________.
-
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.
- In inner join, result is produced by matching rows in one table with rows in another table.
-
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.
- SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns; Which of these is not optional?
-
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.