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

Is BCNF better than 2NF & 3NF? Why?

707


What is query cost in sql server?

646


Explain system rowset functions?

655


What are the encryption mechanisms in sql server?

660


What is the difference between functions and stored procedures?

701






What are the database objects? : SQL Server Architecture

624


What is sql stored procedure?

687


Explain the difference between clustered and non-clustered index?

614


What are the different types of columns types constraints in the sql server?

604


How to list all login names on the ms sql server?

622


What programming language would you use to create embedded functions in ssrs?

144


How to create an multi-statement table-valued function?

610


What is the difference between dbcc indexdefrag and dbcc reindex?

613


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

699


Explain indexing and what are the advantages of it?

621