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 do you mean by cursor?

580


What is consistency token in db2?

638


Explain the benefits you can get from mainframe connect?

520


Are view updateable?

627


How do I delete a table in db2?

642






What is host variable in db2 cobol?

598


What is page size in db2?

559


What is a system catalog table in db2?

582


What do you mean by storage group (stogroup)?

579


How does cobol compile db2 program?

606


How can deadlocks be resolved?

538


What is the meaning concurrency in the db2 database?

630


What is the role of data manager in the db2 database?

640


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2375


What is a bind in db2?

590