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 / mahavir bansal

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

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of database schema? : sql server analysis services, ssas

1072


What are the character string functions supported by sql server 2005?

937


what is bit datatype and what's the information that can be stored inside a bit column? : Sql server database administration

931


What is the need for group functions in sql?

1010


What functions can a view be used to performed?

1001


How to set the current database in ms sql server?

1013


‘Order by’ is not allowed in a view how can you sort information from a view?

1028


Can we add an identity column to decimal datatype?

945


How to convert numeric values to integers in ms sql server?

1010


What is partitioned view?

856


What is extent? Types of extents?

1089


What are various ways to enhance the ssrs report?

923


What is temporal table?

827


What is a mixed extent?

955


How to run sql server 2005 books online on your local system?

919