Define the following terms and give one example of each.

1. Equijoin
2. Outer join
3. Self-join
4. Minus
5. Cartesian product


1. Equijoin
An equijoin is perfomred on two tables with a common column. The rows in two tables
are joined based on same value in the common columns. For example, employee and dept
tables.
2. Outer join
An outer join is similar to equijoin, but it also returns rows that do not have matching
rows in the other table. Equijoin does not return rows without a match. For example,
employee and dependent tables.
3. Self-join
A self-join joins a table to itself. A table with two columns having related values can be
self-joined. For example, employee table (columns EmployeeId and Supervisor), and
course table (CourseId and PreReq columns).
4. Minus
Minus operation returns rows in the first table that do not appear in the second table.
5. Cartesian product
Cartesian product between two tables matches each row from a table with every ro in the second table unconditionally.

Computer Science & Information Technology

You might also like to view...

What is a secondary window that takes control of a program known as?

A. modal window B. popup box C. message interrupter D. focus grabber

Computer Science & Information Technology

A ____ form retains the input focus while open so that the user cannot switch between Form objects until the first form is closed.

A. modal B. modeless C. focused D. forced

Computer Science & Information Technology

Apple introduced the microprossor chip in 1971.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Bookmark names must begin with a ____.

A. space B. number C. letter D. either a or b

Computer Science & Information Technology