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

select count(*) as no_of_vehical,owner_name from vehicles group by owner_name 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

What are the different types of sql server replication? : sql server replication

624


What is log ldf?

555


How can I add Reporting Services reports to my application?

91


Explain what you mean by 3 tier architecture.

629


Do you know what is sql injection?

545






Is it possible to update the views? If yes, how, if not, why?

545


Where actually sql azure database is hosted?

149


What does it mean to invest in the index?

511


What are filegroups in sql server?

581


What are some examples of schemas?

533


What command do we use to rename a db, a table and a column?

506


Do comments need to go in a special place in sql server 2005?

512


Explain what are the different index configurations a table can have?

693


How to change a login name in ms sql server?

562


When I delete any data from a table, does the sql server reduce the size of that table?

586