exam questions

Exam 98-364 All Questions

View all questions & answers for the 98-364 exam

Exam 98-364 topic 1 question 119 discussion

Actual exam question from Microsoft's 98-364
Question #: 119
Topic #: 1
[All 98-364 Questions]

You have two tables named Cars and Color as defined below. The two tables are related by ColorId.

You run the following SQL statement: select:

How many rows does the SQL statement return?

  • A. 0
  • B. 2
  • C. 3
  • D. 6
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
VincentMars
Highly Voted 5 years, 3 months ago
Outer joins will return all records of the main table, reguardless if there is a match in the related table. Here the main table is the table with 3 rows in it. in the row where there is only information for the columns in the left table, the columns from the joined table will all return NULL so for row 2 you will see Truck, 4-door, NULL NULL NULL
upvoted 10 times
...
dzoni68
Most Recent 3 years ago
The correct answer is 3 rows. Option C.
upvoted 1 times
...
julie2020
5 years, 2 months ago
which table consider as a "left outer join" table cars or colors?
upvoted 3 times
Ciskixe
4 years, 11 months ago
It considers cara as left
upvoted 1 times
...
welr348jhnksdf
4 years, 4 months ago
Because cars is mentioned first, it is considered the "left" table. If the question was written in some other way and cars was mentioned after color, then color would be considered the "left" table.
upvoted 2 times
...
...
quan240594
5 years, 4 months ago
Why is the answer 3?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...