Question
1. Which statement below would produce student names, the course titles, and section IDs for all enrolled students? A. SELECT Student_name, Course_title, Section_ID FROM Courses,Enrollment
1. Which statement below would produce student names, the course titles, and section IDs for all enrolled students?
A. | SELECT Student_name, Course_title, Section_ID FROM Courses,Enrollment WHERE Student.Student_ID = Enrollment.Student_ID; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
B. | SELECT Student_name, Course_title, Section_ID FROM Student, Courses, Enrollment WHERE Student.Student_ID = Enrollment.Student_ID AND Enrollment.Section_ID = Sections.Section_ID AND Sections.Course_ID = Courses.Course_ID; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
C. | SELECT Student_name, Course_ID, Section_ID FROM Students, Courses, Enrollment WHERE Student.Student_ID = Enrollment.Student_ID; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D. | SELECT Student_ID, Student_name, Course_ID, Section_ID FROM Courses, Enrollment WHERE Student.Student_ID = Enrollment.Student_ID AND Sections.Course_ID = Courses.Course_ID;
2. Which SELECT statement below would produce the following result?
3. Question 3 If a student's name changes, a) how many tables will need to be updated in this relational design and b) what problem does this prevent?
4. Another term for an inner join is a(n):
5. The number of rows returned by a table relationship without a join condition, where the rows retrieved will be all of the rows of the first table multiplied by all of the rows in the second table is known as a(n):
6. Which statement below would produce the course title, section ID, and number of students enrolled in each section? (Hint: you need an aggregate function and you need to organize the results by course title and then by section ID)
|
7.
Which statement below shows the section IDs, course titles, and faculty IDs?
A. | SELECT Section_ID, Course_title, Faculty_ID FROM Sections, Courses WHERE Sections.Course_ID = Courses.Course_ID; | |||||||||||||||||||||||||||||||||||||||||||
B. | SELECT Section_ID, Course_ID, Faculty_ID FROM Sections, Courses WHERE Sections.Course_ID = Courses.Course_ID; | |||||||||||||||||||||||||||||||||||||||||||
C. | SELECT Section_ID, Course_title, Faculty_ID FROM Sections, Courses, Faculty WHERE Sections.Course_ID = Courses.Course_ID AND Sections.Faculty_ID = Faculty.Faculty_ID; | |||||||||||||||||||||||||||||||||||||||||||
D. | SELECT Section_ID, Course_title, Faculty_phone FROM Sections, Courses WHERE Sections.Course_ID = Courses.Course_ID AND Sections.Faculty_ID = Faculty.Faculty_ID;
| |||||||||||||||||||||||||||||||||||||||||||
8. Which statement below shows the section IDs and course titles for courses taught by Harris?
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started