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

What is difference between clustered and non clustered index?

969


What is change data capture (cdc) in sql server 2008?

1008


In how many ways you can invoke ssrs reports?

137


How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?

169


What is 'write-ahead log' in sql server 2000 ?

1031


In what three ways is the return statement used in a stored procedure?

989


What stored procedure can you use to display the current processes?

874


When is the use of update_statistics command?

987


Different types of keys in SQL?

1082


What are the differences between ms sql server & oracle?

1036


What does set rowcount do?

889


How to get a list of columns using the "sys.columns" view in ms sql server?

945


How to create a scrollable cursor with the scroll option?

980


What is normalization of database?

1083


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

1050