Oracle Database SQL 12c 1z0-071 Exam Practice Test 1
© examsiri.com
Question : 32 of 50
Marks:
+1,
-0
View the exhibit for the structure of the STUDENT and FACULTY tables.
Examine the following two SQL statements:
Statement 1
Statement 2
Which statement is true regarding the outcome?
You need to display the faculty name followed by the number of students handled by the faculty at the base location.
Examine the following two SQL statements:
Statement 1
SQL>SELECT faculty_name, COUNT(student_id)
     FROM student JOIN faculty
     USING (faculty_id, location_id)
     GROUP BY faculty_name; Statement 2
SQL>SELECT faculty_name, COUNT(student_id)
    FROM student NATURAL JOIN faculty
    GROUP BY faculty_name; Which statement is true regarding the outcome?
Go to Question: