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
is it important for a database administrator to understand the operating system and file access? : Sql server administration
Do you know the capabilities of cursors?
What command is used to delete a table from the database in the sql server and how?
Explain how you can deploy an SSRS report?
what changed between the previous version of sql server and the current version? : Sql server database administration
What are the new data types are introduced in sql 2000?
How network traffic be reduced by using the stored procedure?
Explain few examples of RDBMS?
What is the difference between grant and with grant while giving permissions to the user?
You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?
Is oracle faster than sql server?
can we have a nested transaction? : Sql server database administration
What are the pros and cons of putting a scalar function in a queries select list or in the where clause?
Mention the 3 ways to get a count of the number of records in a table.
Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60