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 / abhilash
SELECT(*) Will return 10 and SELECT (distinct dept) will
return 8.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is query_cache_limit?
what is diffrence b/w file-aid tool and file-aid utility???
What do you mean by storage group (stogroup)?
How is the value function used?
What is db2? Explain.
What is lock escalation in db2?
How and when does the db2 enforces the unique key?
Is it possible using max on a char column?
What is the use of runstats in db2?
Is db2 a mainframe?
What is difference between alias and synonym in db2?
What is the difference between spufi and qmf?
What is with ur in db2?
Which isolation level provides maximum concurrency?
What is the use of dclgen in db2?