Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write SQL Query: Branch_ID Bank_Name Loan Loan status Account_no Client name address 201 MBL 80000 Accepted 101 William New York 202 UBL 90000 pending 102

Write SQL Query:

Branch_ID
Bank_Name 
Loan 
Loan status 
Account_no 
Client name 
address 
201 
MBL
80000
 Accepted
101
William
New York
202 
UBL
90000
pending
102
Michael
Phoenix
203 
JS
77000
open
103
Anthony
Chicago
204 
Metro
68000
Accepted
104
Aiden
Houston
205 
Al Habib
75000
close
105
Matthew
Fresno


  1. Write sql query to create a stored procedure name “SelectAllBank” that select client name, address and bank.
  2. Write sql query to create a stored procedure that display details of those clients whose loan status is ‘accepted’.
  3. Write sql query to create a stored procedure list all clients who either have applied for loan or not.  
  4. Write sql query to create a stored procedure list all clients who have applied for loan.
  5. Write sql query to create a stored procedure list all those clients who have not applied for loan.

Step by Step Solution

3.31 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

ANSWER Firsrt we need to create two tables and insert the requried in them I am us... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurial Finance

Authors: J . chris leach, Ronald w. melicher

4th edition

538478152, 978-0538478151

More Books

Students also viewed these Databases questions

Question

What are the major elements of a typical business plan?

Answered: 1 week ago