Nguyễn Thị Thuý
New member
Observe the given SQL query and choose the correct option.
A. The query is syntactically correct but gives the wrong answer
B. The query is syntactically wrong
C. The query is syntactically correct and gives the correct answer
D. The query contains one or more wrongly named clauses.
Code:
select branch_name, count (distinct customer_name)
from depositor, account
where depositor.account_number = account.account_number
group by branch_id
B. The query is syntactically wrong
C. The query is syntactically correct and gives the correct answer
D. The query contains one or more wrongly named clauses.