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 / gaurav.verma4210

select count(*) as no_of_vehical,owner from MulBike group by owner having count(*)>=1

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an index on a view?

572


What is the purpose of object explorer and its features? : sql server management studio

592


Explain primary key in sql server?

562


What is user defined stored procedures?

559


What is outer join in sql server joins?

589






Define primary key?

655


what is the different types of backups available in sql server? : Sql server database administration

497


What is clustered vs nonclustered index?

505


What are a database and a data warehouse?

564


Name three of the features managed by the surface area configuration tool? : sql server security

501


What are the types of resultset?

530


What different steps will a sql server developer take to secure sql server?

494


Explain the first normal form(1nf)?

549


What is the difference between clustered and a non-clustered index?

591


What is tcl in sql server?

663