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 / ajay kumar

select sum(salary) as Sal from emplyoee
group by id
having sum(salary)=130

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain various data region available in ssrs with their use?

943


Explain the cursor lock types?

1063


You want to implement the one-to-one relationship while designing tables. How would you do it?

973


What is truncate table?

947


Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?

998


How do I get to sql server configuration manager?

1018


What are the events recorded in a transaction log?

1003


Explain what is “asynchronous” communication in sql server service broker?

926


How can you set the threshold at which sql server will generate keysets asynchronously?

999


What happens if null values are involved in string operations?

1001


what is a schema in sql server 2005? : Sql server database administration

1037


System variable and temporary variables

2260


How to set database to be read_only in ms sql server?

1017


Name and describe few console utilities for ssrs?

285


What is sql profiler. What are the default templates with it? : sql server database administration

1053