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 / rajkumar v
select Owner, COUNT(*) as Total from table_name group by
Owner having COUNT(*)>1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the restrictions while creating batches in sql server?
Why use stored procedures in sql server?
What is triggers and stored procedures?
How would you use user_constraints table in DB?
What is the difference between for trigger and after trigger?
What is the difference between join and inner join?
How can we solve concurrency problems?
What is transaction server distributed transaction?
What you can do to delete a table without the delete trigger firing?
explain databases and sql server databases architecture? : Sql server database administration
How to create function without parameter in sql server?
Do you know what are the steps to process a single select statement?
Explain cdc and sql injection?
Why use update_statistics command in sql server?
Explain error handling in ssis?