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

select Owner from dbo.[table] where Bike in (select bike
from dbo.[table]) 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 encrypt data between dialogs?

1167


What is a raid and what are different types of raid configurations?

1321


How can you check the version of sql server?

1158


How to convert a numeric expression from one data type to another?

1091


How do I find the sql server version?

1080


Can two tables have the same primary key?

1267


Explain table valued parameters in sql server? Why tvp used?

1067


What is role playing dimension with two examples? : sql server analysis services, ssas

1052


You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

1043


Distinguish between commit and rollback?

1011


What are the advantages of having an index on the sql server?

973


What is the function of inner join?

1126


What is the difference between varchar and nvarchar?

985


What encryption security is available in sql azure?

101


Explain about builtinadministrator?

1114