Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to handle nulls in Teradata???
How many columns can be there in a table???
How to find average sal with out using avg function????

Answers were Sorted based on User's Feedback



How to handle nulls in Teradata??? How many columns can be there in a table??? How to find average..

Answer / sri

without using "avg" we can find the avg salary by using sum
(sal)/count(sal);

sel sum(sal)/count(sal) as avgsal from tablename

regards,
sri

Is This Answer Correct ?    9 Yes 0 No

How to handle nulls in Teradata??? How many columns can be there in a table??? How to find average..

Answer / yuvaevergreen

1. Use zeroifnull,nullifzero in select and NULL in insert
directly.
2. 256 columns max per table.

Is This Answer Correct ?    9 Yes 1 No

How to handle nulls in Teradata??? How many columns can be there in a table??? How to find average..

Answer / tdguy

1. use coalesce(column1,column2) or case when column1 is
nul...end or zeroifnull(column1) to handle nulls.
2. in TD 14.0 there can be 2048 columns per table.
3. sum/count gives you the average of the field.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Teradata Interview Questions

How to select first n records in teradata?

0 Answers  


What are normalization, first normal form, second normal form and third normal form?

0 Answers  


How can we load single row of data into teradata database. please give me the process.

3 Answers  


What are the multiload utility limitations?

0 Answers  


What do you mean by teradata intellicloud?

0 Answers  


Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com

0 Answers  


Explain the term 'columns' related to relational database management system?

0 Answers  


Explain teradata architecture in detail with a diagram.

0 Answers  


What is the purpose of joins in teradata?

0 Answers  


How can bottlenecks be identified?

0 Answers  


i am pursuing mca and i want to do tera data .so plz suggest me the best institue in hydrabad who teach real tym scenerio.

1 Answers  


What happens in a conflict? How do you handle that?

0 Answers  


Categories