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 / keshireddy
Hmm Virender is correct
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
Explain what are the various isolation levels possible?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
How do I connect my db2 database to ibm?
How do I delete a column in db2?
How to rename a table in DB2 ?
How do I optimize a query in db2?
What is check constraint. Explain with example.
what is utility for parm lib
What is cursor with hold option in db2?
Name the various locking levels available?
How to find the number of rows in db2 tables?
How to create backup table in db2?