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 / gangadharrao
select Owner from dbo.[table] where Bike in (select bike
from dbo.[table]) group by owner having count(*) >1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is tablesample?
your distribution database is full what will u do
Explain the difference between delete,drop and truncate in SQL Server?
What are functions in the sql server?
Can you tell me about the concept of ER diagrams?
Can the “if update (colname)” statement be used in a delete trigger?
Explain partitioned view?
Explain about integration services of Microsoft SQL server?
What are “phantom rows”?
How do I create a stored procedure in sql server?
How to delete multiple rows with one delete statement in ms sql server?
What is a constant or literal in ms sql server?
What are the default system databases in sql server 2000?
What stored procedure can you use to display the current processes?
Explain what is the main purpose of having conversation group?