Q:

Observe the given SQL query and choose the correct option

belongs to collection: DBMS - SQL MCQ

0

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

  1. The query is syntactically correct but gives the wrong answer
  2. The query is syntactically wrong
  3. The query is syntactically correct and gives the correct answer
  4. The query contains one or more wrongly named clauses.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).The query is syntactically wrong

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

DBMS - SQL MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
State true or false: SQL does not permit distinct ... >>
<< Which of the following is not a built in aggregate...