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

Why is the need for data conversion transformations?

502


How to use wildcard characters in like operations in ms sql server?

602


Why would you call update statistics?

585


what is datawarehouse?

651


Why functions are used in sql server?

504






how can you check the level of fragmentation on a table? : Sql server administration

542


What are the different types of locks in the database?

488


Can sql servers link to other servers?

565


What are the differences between char and nchar in ms sql server?

537


What is outer join in sql server joins?

597


What stored procedure would you use to view lock information?

528


How do we Backup SQL Azure Data?

86


What is RAID? What are the different types of RAID configurations?

617


what's the maximum size of a row? : Sql server database administration

544


What is Federation and Federation Member?

80