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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / bkishor
Nulls are ignored in AVg Function.so the output will be 5+8+3/3
Is This Answer Correct ? | 0 Yes | 0 No |
A Query was run fine earlier. It is not running properly now. what are proactive steps you can take as a dba ?
What are the scenarios in which full table scans occurs?
If I wanted to run a TPump job only once per day - basically working on a file that is produced once per day - how would you set up the parameters for that sort of job ?
When tpump is used instead of multiload?
If the query is NOT WRITTEN PROPERLY then what are the recommendations you can give to the developer ?
What is the process to restart the multiload if it fails?
What is the command in bteq to check for session settings ?
why use references rather than pointers in the public api, particularly for arguments which are modified?
What are the various reporting tools in the market?
Explain teradata architecture?
Why does varchar occupy 2 extra bytes?
can we join volatile table with general table an global temporary table with general table ?