branch(branch_name, branch_city, assets) customer (ID, customer_name, customer_street, customer_city) loan (loan лиmber, branch_name, aтоиnt) borrower (ID, loan_number) ассоunt (асcountлumber, branchname, balance) depositor (ID, account_number) Figure 3.18 Banking database.

Principles of Information Systems (MindTap Course List)
13th Edition
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Big Data
Section: Chapter Questions
Problem 14SAT
icon
Related questions
Question

Consider the bank database of Figure 3.18, where the primary keys are underlined. Construct the following SQL queries for this relational database. Find the ID of each customer who lives on the same street and in the same city as customer '12345'.

branch(branch_name, branch_city, assets)
customer (ID, customer_name, customer_street, customer_city)
loan (loan лиmber, branch_name, aтоиnt)
borrower (ID, loan_number)
ассоunt (асcountлumber, branchname, balance)
depositor (ID, account_number)
Figure 3.18 Banking database.
Transcribed Image Text:branch(branch_name, branch_city, assets) customer (ID, customer_name, customer_street, customer_city) loan (loan лиmber, branch_name, aтоиnt) borrower (ID, loan_number) ассоunt (асcountлumber, branchname, balance) depositor (ID, account_number) Figure 3.18 Banking database.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Complex Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning