

The top row, where the ProductSubcategoryID is listed as NULL, is the summary row that provides the average, minimum, and maximum list prices of products across all subcategories." should be replaced with: The sentence "The result set for the preceding query is shown in Figure 1-6. The error is actually on page 20, not page 44. Not only you can see, at a glance, that the proposed minimum is bigger than other minima in the Figure (and the proposed maximum smaller than other maxima) but also is not true that the query provides a summary if you don't use with rollup or with cube. The top row, where the ProductSubcategoryID is listed as NULL, is the summary row that provides the average, minimum, and maximum list prices of products across all subcategories." "The result set for the preceding query is shown in Figure 1-6. In addition, when foreign key constraints are defined and do not allow NULL values, an OUTER JOIN defined with the primary key table being defined as the outer table provides the same results as an INNER JOIN. This is because every value in the foreign key column must have a matching row in the primary key column for the constraint to be satisfied.
#Adventureworks2008 sr4 exe full
If the join column includes a Foreign Key/Primary Key relationship and NULL values are not allowed in the Foreign Key column, a FULL OUTER JOIN provides the same result set as a LEFT OUTER JOIN when the table where the foreign key is defined is on the left side of the JOIN keyword. When foreign key constraints are defined, an OUTER JOIN defined with the primary key tableīeing defined as the outer table provides the same results as an INNER JOIN. Have a matching row in the primary key column for the constraint to be satisfied. This is because every value in the foreign key column must

The same result set as a LEFT OUTER JOIN with the table where the foreign key is defined on If there are foreign key constraints on the join column, a FULL OUTER JOIN provides Error is actually on page 14 and is in the paragraph following FIGURE 1-5. In addition, when foreign key constraits are defined, an OUTER JOIN defined with the foreign key table being defined as the outer table provides the same results as an INNER JOIN.Īlthough the correction listed above is not valid, the wording for the two sentences referenced still need to be changed to be 100% correct. In addition, when foreign key constraits are defined, an OUTER JOIN defined with the primary key table being defined as the outer table provides the same results as an INNER JOIN.

"(SELECT ownerName, age FROM Owners WHERE location = 'Seattle') AS own"Ī FULL OUTER JOIN provides the same result as a LEFT OUTER JOIN with the table where the foreign key is defined on the left side of the JOIN keywordĪ FULL OUTER JOIN provides the same result as a LEFT OUTER JOIN with the table where the PRIMARY key is defined on the left side of the JOIN keyword "(SELECT age FROM Owners WHERE location = 'Seattle') AS own" You may not need to use all the items from the list on the right." You can also use the up and down buttons to rearrange items in the list on the left. Place your selections in the list on the left by clicking the items in the list on the right and clicking the arrow button. Place your selections in the list on the left in the order in which they appear in the statement. You must retrieve the pet's name, owner's name, and pet’s age for all pet owners over the age of 50 who live in Seattle.įrom the list on the right, select the portion of the statement you should use. Location, which stores the name of the city in which the owner lives OwnerName, which stores the name of the owner of one or more pets You also have a table named Owners, which contains the following columns: OwnerName, which stores the name of the pet's owner PetName, which stores the name of the pet "You have a table named Pets, which contains the following columns: In the practice test included on the Companion CD, question 433P_4.1_04 has an incorrect answer option.
