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 / rajkumar v

select Owner, COUNT(*) as Total from table_name group by
Owner having COUNT(*)>1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to manipulate data from one table to another table ?

1016


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2550


How to receive returning result from a query?

1187


What is constraints and its types?

996


What is change data capture (cdc) in sql server 2008?

1076


Explain sql delete command?

1091


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1161


What is sql injection? How to protect against sql injection attack?

1034


Explain foreign key in sql server?

1071


Can I save my report as html, excel or word? : sql server management studio

1007


Why is replication required on the sql server?

1104


Define inner join in sql server joins?

1125


Do you know what is bit data type and whats the information that can be stored inside a bit column?

995


Explain alternate key, candidate key and composite key in sql server?

946


What is a join in sql? What are the types of joins?

1185