Q:

Choose the correct option regarding the query:

belongs to collection: DBMS - SQL MCQ

0

Choose the correct option regarding the query:

SELECT branch_name, COUNT (DISTINCT customer_name) 
FROM depositor, account 
WHERE depositor.account_number = account.account_number 
       GROUP BY branch_id
       HAVING avg(balance) = 10000;

  1. The having clause checks whether the query result is true or not
  2. The having clause does not check for any condition
  3. The having clause allows only those tuples that have average balance 10000
  4. None of the mentioned

All Answers

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

 (c).The having clause allows only those tuples that have average balance 10000

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
The _____ aggregation operation adds up all the va... >>
<< We apply the aggregate function to a group of sets...