whether Nulls will be counted while doing average?
example: we have table column A with following values
A
--
5
Null
8
3

Now what is the average of A?

Answer Posted / yuvaevergreen

yes..as said above, nulls would be completely ignored while
calculating averages.
similarly, while counting that column alone, "sel count(a)"
will give you 3 ignoring null.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of partitioned primary index in a query?

565


What do you mean by teradata sql assistant?

591


What is meant by a Least Cost Plan?

624


What is stored procedure in teradata?

590


What is the difference between global temporary tables and volatile temporary tables?

638






While creating table my dba has fallback or no fallback in his ddl. What is that?

695


Describe primary index in teradata. And what are the available primary index types?

547


What is bteq script in teradata?

633


How many types of joins are there in teradata?

547


Can we collect statistics on multiple columns?

568


How would you load a very large file in teradata in general? What utility would you use for it? Why?

601


What are default access rights in teradata? What explicit right can be given to a user?

652


What do high confidence, low confidence and no confidence mean in explain plan?

591


What is a dimension table?

610


What is the purpose of joins in teradata and what are the available join types?

548