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

select name of emplyoee whose total salary is 130 from
following table.
id name salary
1 a 100
2 b 20
3 c 50
1 a 30
2 b 70
Post the resulantant Query?

Answer Posted / vikas kant

select emp_name, sum(salary)
from emp
group by emp_name
having sum(salary)=130

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to list all objects in a given schema?

987


How can you find out how many rows returned in a cursor?

971


Define tool Manage Statistics in SQL Server 2000 query ?

1026


in the physical file layout, where should the transaction log be stored in relation to the data file?

943


Can a database be shrunk with users active?

1065


how to use DTS package in 2000,2005,2008 in sql server

1788


Difference between 2NF &3NF ?

1030


Write a SQL command to insert and update only a particular field?

1040


What is difference between equi join and inner join?

860


What is the difference between cartesian product and cross join?

814


What are system databases into sql server (2005/2008) : sql server database administration

967


What is SubQuery in SQL Server 2008

966


How to create a new schema in a database?

1075


What is the difference between a stored procedure and a user defined function?

974


what are constraints? Explain different types of constraints? : Sql server database administration

921