Observe the given SQL query and choose the correct option.
SELECT branch_name, COUNT (DISTINCT customer_name)
FROM depositor, account
WHERE depositor.account_number = account.account_number
GROUP BY branch_id
- The query is syntactically correct but gives the wrong answer
- The query is syntactically wrong
- The query is syntactically correct and gives the correct answer
- The query contains one or more wrongly named clauses.
(b).The query is syntactically wrong
need an explanation for this answer? contact us directly to get an explanation for this answer