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

How efficient you are in oracle and SQL server?

1218


Does the order of columns in update statements matter?

954


List down some advantages of sql stored procedure?

1013


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

1155


How do I find query history in sql server?

985


What is the main difference between ‘between’ and ‘in’ condition operators?

1271


What are the advantages of mirroring?

1041


What is a transact-sql statement?

1126


can any body tell me how to know the password of current user in sql server

2119


What is a view and what are its advantages?

1167


What is the data type of time?

1014


ow to bring suspect mode datbase online from scratch

1854


What are the advantages of stored procedure in sql server?

929


What is single-user mode and what are the steps you should follow to start sql server in single-user mode?

1022


Explain aggregate functions?

1138