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

What is the difference between lock, block and deadlock? : sql server database administration

992


How to convert a unicode strings to non-unicode strings?

1031


What happens to a statement batch if there is a compilation error?

901


What is amo? : sql server analysis services, ssas

1046


What is the stuff and how does it differ from the replace function?

1009


Do you know spatial data types - geometry and geography in sql server 2008?

971


How to round a numeric value to a specific precision?

1017


How does index makes search faster?

922


Can we do dml on views?

919


Do you know what are pages and extents? : SQL Server Architecture

944


List out the differences between global and local temp tables in sql server?

1004


What is a table called, if it has neither cluster nor non-cluster index? What is it used for?

979


hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.

2887


What are the restrictions while creating batches in sql server?

1008


How to check if stored procedure is running in sql server?

962