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 / priestly george varghese
Select Count(*) as Bike_Count, Owmer from <TN> where Bike
in('pulsar','Honda')
group by Owmer having count(*)>1
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Is port 1433 secure?
Do you know what are acid properties?
What is equi join with example?
How do you handle datasets larger than 50 gb?
Name some of the open source software that you can use in alternative to SSR?
Explain transaction server consistency?
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
Does windows server 2016 come with sql server?
What is subreport?
How to reaname table name without using sp_Rename in sql server..?
What are statistics?
Can group by be used without aggregate functions?
What is isnull() operator?
What is tempdb in sql server?
How do you troubleshoot errors in a SQL Server Agent Job?