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 / rkraju

while doing average nulls value cannot considered
>>in that above example 4 values is there but while
caluculating average it consider only 3 values y becz in
that four values one values is there so the o/p is
>> 5+null+8+3=16/3

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between stored procedure and macro?

690


What are some primary characteristics of teradata?

552


What are the various indexes in teradata?

569


What are the functions of a Parser?

610


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

590






Can you fastexport a field, which is primary key by putting equality on that key?

711


What is multi insert?

628


Define views in teradata with syntax.

640


Explain how spool space is used.

619


What are the commands to make a new table, change a table and remove a table in teradata?

613


What is bteq script in teradata?

633


Highlight all the modes that are present under Confidence Level.

539


What is the multi-insert?

614


Explain some differences between mpp and smp?

592


What are the various indexes in teradata? Why are they preferred?

561