Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are outer joins?

joins Outer
0
Posted

What are outer joins?

0

Outer joins are SQL constructs that enable you to return rows from one table when there are no matching rows in a table to which it is joined. Consider the following scenario: the master table DEPT contains rows for department 10 (ACCOUNTS), department 20 (RESEARCH) and department 40 (OPERATIONS) the detail table EMP contains rows for Clark (department 10), Smith (department 20) and Allen (a former employee of department 30, which no longer exists) Figure 9-10 Master and detail tables DEPT and EMP, where the rows returned are determined by the position of the outer join construct in the query Text description of the illustration joind1.gif The following examples use the schema in the above figure to illustrate how the position of the outer join determines the rows returned from a query.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.