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

Null value can not be counted with aggregate functions.
count(*) count null.
Here result will be 5

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the design features involved in teradata?

630


Explain teradata utilities. What is multiload, fast load, tpump?

656


What is meant by a Parsing Engine?

800


Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.

681


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

697






In the Primary Index, what is the score of AMPs that are actively involved?

663


What are the various reporting tools in the market?

701


What are the available join types in teradata?

695


What do you mean by teradata sql assistant?

673


What is the command in bteq to check for session settings ?

737


What are differences between teradata and ansi session modes in teradata?

724


What is spool space? Why do you get spool space errors? How do trouble-shoot them?

619


In a table can we use primary key in one column and in another column both unique and not null constrains.if yes how?

678


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

645


What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?

737