Question: Observe the given SQL query and choose the correct option. SELECT branch _ name, COUNT ( DISTINCT client _ name ) FROM depositor, account WHERE

Observe the given SQL query and choose the correct option.
SELECT branch_name, COUNT (DISTINCT client_name) FROM depositor, account
WHERE depositor.account_id = account.account_id
GROUP BY branch_id
The query contains one or more wrongly named clauses.
The query is syntactically wrong
The query is syntactically correct but gives the wrong answer
The query is syntactically correct and gives the correct answer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!