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 / uttam sing rawat

select distinct Owner_Name from dbo.Tbl_Owner where bike
in(Select distinct bike from dbo.Tbl_Owner)

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lookup override?

673


Explain the working of sql privileges?

720


Mention what are the core components of ssrs?

233


Name few endpoints exposed by ssrs 2012?

321


What is the difference between online clustering and Offline clustering?

2021






what stored procedure can you use to display the current processes? : Sql server administration

611


Explain primary key, foreign key and unique key?

654


let's assume you have data that resides on sql server 6.5. You have to move it sql server 7.0. How are you going to do it? : Sql server database administration

591


What are dml triggers and types of dml triggers?

630


How you can change the database name in SQL SERVER?

760


Differentiate between a local and a global temporary table?

631


Give me a SQL Query to find out the second largest company?

801


What is difference between count (*) and count 1?

587


Tell me about normalization in DBMS.

681


Can you explain what are commit and rollback in sql?

580