Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is key attribute?

873


What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

954


Explain primary key and foreign key constraints?

966


How to delete an existing row with delete statements in ms sql server?

1023


what is the difference between delete table and truncate table commands? : Sql server database administration

969


Is sql different from sql server?

1003


How to find index size for each index on table?

964


Explain Normalization and DE normalization

1055


Can you tell me about the concept of ER diagrams?

1018


Explain what is sql server english query?

988


Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

978


What is data set in report?

121


What happens if date-only values are provided as date and time literals?

978


Can you leave a union at any time?

1004


What is the difference between having clause and where clause in sql server?

1033