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 |
How to write the query . eid enm doj dob i want to display the names who worked more than 25 years .
How to find duplicates in a table?
What is the difference between teradata and oracle?
Why AMP & PE are called Vprocs?
tomorrow i have interview in infosys.can someone pour any suggestions or any interview questions. thank you
What does Amp contain and what are all the operations that it performs?
Highlight the limitations of TPUMP Utility.
Highlight the advantages of PPI(Partition Primary Index).
Describe primary index in teradata?
Hi friends This is suneel and i am new to teradata. In both situvations teradata administrator and teradata sql assitant 12.0 1)How to create database in teradata and under database how to create user. 2)How to create table under that user and giving privilizes to that user. Thanks alot.
What is the use of having index's on table?
What is the process to restart the multiload if it fails?