If a table has a column "dept" (declared to have nulls) and
there are 10 rows in the table of which 3 have a null value
in the dept column, what will select count(*) and select
count(distinct dept) return?

Answer Posted / austin

MADHURI IS CORRECT.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does reorg do in db2?

578


What are host variables in db2?

626


What is cloudant database?

641


Explain about rct in db2?

640


What is db2 instance?

592






What is dbrm library?

578


Can you use max on a char column?

638


What is node in db2?

608


List some fields from sqlca?

613


can we view the access paths created by dbrm ? how ? thx

6254


What is db2 purescale?

549


How to rename a table in DB2 ?

639


How can deadlocks be resolved?

542


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

719


Which component is responsible for processing sql statements and selecting access paths?

670