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 / aditya

select name
from ( select name from bikehaving
where drive in ('pulsur',Homda')) xxx
group by name
having name > 1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the approximate numeric data types?

540


How do use Having,Group by,Group function in SQL?

1362


What is a rownum?

513


Explain temporary table vs table variable by using cursor alternative?

530


what is denormalization? : Sql server database administration

492






What is correlated subquery in sql server?

568


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

580


Do you think BCNF is better than 2NF & 3NF? Why?

803


what are the important architecture components of SSRS?

94


What is dynamic cursor in SQL SERVER?

569


What is the recommended total size of your memory optimized tables?

536


What is sql injection? How to protect against sql injection attack?

561


Does dbcc checkdb requires db to be in single_user mode? : sql server database administration

532


What are character string data types in ms sql server?

647


What happens if null values are involved in arithmetic operations?

597