1. List the Customer Id, Last Name for all customers, sorted by Last Name, ID. Table "Customer Id" b. List the loan number and loan amount for all loans belonging to branch 3. c. List the loan number, loan amount from all branches with the branch name "DowntownGR" (use branch name, if you have a 1000 branches, you are not going to know the branch number for each branch name).

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Please and thank you break it down for me to please im so confused

rite SQL statements to answer each of the following questions.
1. List the Customer Id, Last Name for all customers, sorted by Last Name, ID.
Table "Customer Id"
b. List the loan number and loan amount for all loans belonging to branch 3.
c. List the loan number, loan amount from all branches with the branch name
"DowntownGR" (use branch name, if you have a 1000 branches, you are not
going to know the branch number for each branch name).
d. List all account numbers for customers with the last name of "Smith" and
first name of "Sam".
e. List all the loan numbers and loan amounts for the branches in the city of
Minneapolis.
f. For each branch list the branch name, customer last name, and customer
street for all customers that have an account at that branch. (note: accounts,
not loans)
Transcribed Image Text:rite SQL statements to answer each of the following questions. 1. List the Customer Id, Last Name for all customers, sorted by Last Name, ID. Table "Customer Id" b. List the loan number and loan amount for all loans belonging to branch 3. c. List the loan number, loan amount from all branches with the branch name "DowntownGR" (use branch name, if you have a 1000 branches, you are not going to know the branch number for each branch name). d. List all account numbers for customers with the last name of "Smith" and first name of "Sam". e. List all the loan numbers and loan amounts for the branches in the city of Minneapolis. f. For each branch list the branch name, customer last name, and customer street for all customers that have an account at that branch. (note: accounts, not loans)
1. Branch:
1, DowntownDet, Detroit, 40000000.00
2, YptownChi, Chicago, 32000000.00
3, DowntownGR Grand Rapids, 21000000.00
2. Loan:
1001, 1, 2008.08
1002, 1, 3201.06
1003, 2, 4508.03
1004, 3, 21008.00
3. Customer:
1, Gretzky, Wayne, 14 S 6th St., 55234
4, Carr, Paul, 16699 39th Ave N, 55231
2, Kilmer Ellen, 205 Dupont Ave. N, 65031
3, Smith, Sam, 3598 Jones Rd., 55305
5, Smith, Adam, 9873 5Th. St., 55234
4. Borrower:
4, 1001
5, 1002
2, 1003
1, 1004
5. Depositor:
1, 232
2, 235
4, 294
3, 295
5, 249
6. Account:
232, 3, 456.23
235, 2, 4500.19
294, 1, 6003.63
295, 3, 7500.00
249, 1, 670.85
Transcribed Image Text:1. Branch: 1, DowntownDet, Detroit, 40000000.00 2, YptownChi, Chicago, 32000000.00 3, DowntownGR Grand Rapids, 21000000.00 2. Loan: 1001, 1, 2008.08 1002, 1, 3201.06 1003, 2, 4508.03 1004, 3, 21008.00 3. Customer: 1, Gretzky, Wayne, 14 S 6th St., 55234 4, Carr, Paul, 16699 39th Ave N, 55231 2, Kilmer Ellen, 205 Dupont Ave. N, 65031 3, Smith, Sam, 3598 Jones Rd., 55305 5, Smith, Adam, 9873 5Th. St., 55234 4. Borrower: 4, 1001 5, 1002 2, 1003 1, 1004 5. Depositor: 1, 232 2, 235 4, 294 3, 295 5, 249 6. Account: 232, 3, 456.23 235, 2, 4500.19 294, 1, 6003.63 295, 3, 7500.00 249, 1, 670.85
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY