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 about integration services of Microsoft SQL server?

1008


How to display a past time in days, hours and minutes?

988


What is a deadlock and what is a live lock?

968


How to use subqueries with the in operators in ms sql server?

1034


What is the purpose of update statistics and scope_identity() function?

1068


When setting replication, is it possible to have a publisher as 64 bit sql server and distributor or subscribers as a 32 bit sql server?

912


Can you explain the disadvantages/limitation of the cursor?

941


What is the need for indexing?

909


Explain magic tables in sql server?

1011


Is it important for a database administrator to understand the operating system and file access?

948


What is difference between global temporary tables and local temporary tables?

1195


What is a trigger in sql server?

1118


What are the difference between clustered and a non-clustered index?

997


What are different types of data sources?

959


What are distinctive joins find as a part of sql?

924