Observe the given SQL query and choose the correct option. [code] select branch_name, count (distinct customer_name) from depositor, account

Observe the given SQL query and choose the correct option.
Code:
select branch_name, count (distinct customer_name) 
from depositor, account 
where depositor.account_number = account.account_number 
group by branch_id
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.
 

Tìm kiếm

Back
Top