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????

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

During the Display time, how is the sequence generated by Teradata?

968


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

978


Syntax for case when statement?

1001


How do you see a ddl for an existing table?

961


How you will check the version of teradata?

1075


What are the main components of teradata system?

1064


What are the joins in teradata and how many types of joins are there in teradata?

958


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

1064


Can we have two time dimensions in a schema(either star or snow flake)? For ex if we want joining date of employee and if we want today's sales with time whether can we have two time dimensions for accommodating above tasks?

2038


In general, how do you optimze any sql in teradata?

973


What is the maximum number of dml can be coded in a multiload script?

1048


Give the sizes of SMALLINT, BYTEINT and INTEGER.

1103


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

946


What are the functions of a Parser?

1027


What is a node in teradata?

934