Question: Write SQL commands for following client and bank tables Client: Account_no Client name address 101 William New York 102 Michael Phoenix 103 Anthony Chicago 104
Write SQL commands for following client and bank tables
Client:
Account_no Client name address
101 William New York
102 Michael Phoenix
103 Anthony Chicago
104 Aiden Houston
105 Matthew Fresno
Bank:
Branch_ID Bank_Name Loan Loan status Account_no
201 Meezan Bank Limited 80000 Accepted 101
202 UBL 90000 pending 102
203 JS 77000 open 103
204 Metro 68000 Accepted 101
205 Al Habib 75000 close null
Write sql query to get client name, address, and bank and loan status.
Write sql query to display details of those clients whose loan status is accepted.
Write sql query to list all clients who either have applied for loan or not.
Write sql query to list all clients who have applied for loan.
Write sql query to list all those clients who have not applied for loan.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
