Contents
Chapter 4 · DatabasePractice
← Return to textbook

CONCEPT PRACTICE

Equijoin conditions in WHERE

1 related verified questions. Take them one at a time.

Filter questions
Question sources

1 of 1 questions match.

Textbook Exercises
0/1 answered

Question 1 of 1

0/1 answered

Volume 1 · Chapter 4 · Textbook Exercises · Q9

Original textbook exercise · Select the image to enlarge
Read the question as text

Which of the following is the appropriate result of executing the SQL statement that is given below on the “Student” table and the “Department” table? SELECT Name FROM Student, Department WHERE Affiliation = DepartmentName AND Department.Address = 'Shinjuku' Student Department Name Affiliation Address DepartmentName Address Tomoko Goda Science Shinjuku Science Shinjuku Shunsuke Aoki Engineering Shibuya Engineering Shinjuku Satoshi Kawauchi Humanities Shibuya Humanities Shibuya Yuko Sakaguchi Economics Shinjuku Economics Shibuya Editorial accessible table transcription: Student columns are Name, Affiliation, Address. Rows: Tomoko Goda, Science, Shinjuku; Shunsuke Aoki, Engineering, Shibuya; Satoshi Kawauchi, Humanities, Shibuya; Yuko Sakaguchi, Economics, Shinjuku. Department columns are DepartmentName, Address. Rows: Science, Shinjuku; Engineering, Shinjuku; Humanities, Shibuya; Economics, Shibuya. Original answer tables are separately transcribed below.

The original image above preserves the complete textbook wording and layout.

Choose your answer
Choose an option to check your answer.
1 / 1Back to lesson →

Source: FE Vol 1.pdf, PDF page 296, textbook p. 286 · Information-technology Promotion Agency, Japan · First Edition: April, 2015. ID: tb-v1-c4-q9. Publisher answer and commentary · private review.

Original question · Q9
Which of the following is the appropriate result of executing the SQL statement that is given 
below on the “Student” table and the “Department” table? 
 
SELECT Name FROM Student, Department 
WHERE Affiliation = DepartmentName AND Department.Address = 'Shinjuku' 
Student 
Department 
Name 
Affiliation 
Address
DepartmentName 
Address
Tomoko Goda 
Science 
Shinjuku
Science 
Shinjuku
Shunsuke Aoki 
Engineering
Shibuya
Engineering 
Shinjuku
Satoshi Kawauchi Humanities 
Shibuya
Humanities 
Shibuya 
Yuko Sakaguchi 
Economics 
Shinjuku
Economics 
Shibuya

Editorial accessible table transcription: Student columns are Name, Affiliation, Address. Rows: Tomoko Goda, Science, Shinjuku; Shunsuke Aoki, Engineering, Shibuya; Satoshi Kawauchi, Humanities, Shibuya; Yuko Sakaguchi, Economics, Shinjuku. Department columns are DepartmentName, Address. Rows: Science, Shinjuku; Engineering, Shinjuku; Humanities, Shibuya; Economics, Shibuya. Original answer tables are separately transcribed below.
a) Editorial answer-table transcription: column Name; row Tomoko Goda.
b) Editorial answer-table transcription: column Name; rows Tomoko Goda and Shunsuke Aoki.
c) Editorial answer-table transcription: column Name; rows Tomoko Goda and Yuko Sakaguchi.
d) Editorial answer-table transcription: column Name; rows Tomoko Goda, Shunsuke Aoki and Yuko Sakaguchi.

Scroll horizontally to read the image at full size.