QuestionQ93

VerifiedReporting Aggregated Data Using the Group Functions

Refer to the exhibit for the structure of the student and faculty tables.

Question Image

You must display the faculty name followed by the number of students handled by the faculty at the base location. Examine these two SQL statements:

Question Image

Which statement is true about the outcome?

Explanation

Both statements join STUDENT and FACULTY using FACULTY_ID and LOCATION_ID. The explicit join specifies these two conditions directly, while NATURAL JOIN derives them from the identically named columns in both tables. Therefore, both execute successfully and return the same required result.

Community Discussion

No comments yet. Be the first to start the discussion!