18.8k views
5 votes
Which of the following types of joins is created by matching equivalent values in each table?

1) Inner join
2) Outer join
3) Left join
4) Right join

User Bkqc
by
7.0k points

1 Answer

2 votes

Final answer:

An inner join is created by matching equivalent values in each table. Correct option is 1) Inner join.

Step-by-step explanation:

An inner join is created by matching equivalent values in each table.

For example, let's consider two tables - Table A with columns A1 and A2, and Table B with columns B1 and B2. An inner join between Table A and Table B would only include the rows where the values in A1 and B1 are the same.

This type of join is useful when we want to combine data from two tables based on a common column. It helps us retrieve only the matching records from both tables.

1) Inner join

An inner join is created by matching equivalent values in each table. It returns only the rows where there is a match in both tables based on the specified join condition. Rows from the tables that do not have a match are excluded from the result set. Inner joins are the most common type of join used in database queries.

User Roland Pihlakas
by
8.1k points