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 / anand

hey thanks a lot, it is working but with slight modification


Select Count(*) as No-Vehicles, owner from table where
group by owner having count(*)>=1

Regards,
Anand

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is format parameter in ssrs?

146


How to create a trigger for insert only?

1041


What do you know about system database? : SQL Server Architecture

986


Tell me about joins in database system and explain each in detail.

1049


What are orphan records?

932


What is the guest user account in sql server? What login is it mapped to it? : sql server security

1064


List out what other servers you can use with ssrs?

139


What is the difference between primary key and unique constraints?

964


When to use null data driven subscription?

207


What are the hotfixes and patches in sql server?

1017


How to create a local temporary stored procedure?

998


What are data files?

1042


What is normalization of database?

1106


What do you mean by sql server agent?

992


what is a deadlock? : Sql server database administration

1067