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...

write a query for list of owner who are having multiple
bikes in below table
1 shanker pulsar
2 shanker Honda
3 shanker car
4 Balu pulsar
5 Balu Honda
6 Balu car
7 Shyam pulsar
8 Jaya Honda
9 Deepa car
10 vasu car

Answer Posted / anil

select ownername,count(bike) noofbikes from abikes group by ownername having Count(bike)>1

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I create a new template for import ? : sql server management studio

1025


How do you use a subquery to find records that exist in one table and do not exist in another?

992


How to write character string constants or literals in ms sql server?

960


what are constraints? Explain different types of constraints? : Sql server database administration

921


What is the cartesian product of the table?

903


What is save transaction and save point?

1121


What is log shipping? Can we do logshipping with SQL Server 7.0 ?

936


How to drop an existing stored procedure in ms sql server?

965


What do you mean by an execution plan? Why is it used? How would you view it?

880


What is update locks?

835


How would you use user_constraints table in DB?

941


Scalability, Availability, Integration with internet, etc.)?

2824


What do you mean by subquery?

1024


What are transactions in sql?

987


what is dbcc? : Sql server database administration

968