Question: Write an SQL query, without using a with clause, to find all branches where the total account deposit is less than the average total account

Write an SQL query, without using a with clause, to find all branches where the total account deposit is less than the average total account deposit at all branches,

a. Using a nested query in the from clauser.

b. Using a nested query in a having clause.

Step by Step Solution

3.50 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

We output the branch names along with the total account deposit ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

16-CS-DB (143).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!