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...

can any one answer this query,thank you in advance

Table 1 has 2 columns: EmployeeId, T shirtsize(values can
be 1,2,3)
Table 2 has 2 columns: EmployeeId, Region
Write SQL to Find the region which has the largest number
of people with Tshirt size=3

Answer Posted / ram

select region from tab2 where empid in(select empid from
tab1 where tshirtsize=3)

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which tcl commands are available on the sql server?

1062


What are date and time data types in ms sql server?

1075


Explain the difference between primary keys and foreign keys?

1006


Explain what is “asynchronous” communication in sql server service broker?

899


What is use of except clause? How does it differ from not in clause?

1002


Is the order of columns in the set clause important in ms sql server?

954


Explain stored procedure?

1035


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1732


What is a trigger what are the advantages of trigger?

979


Do you know what is similarity and difference between truncate and delete in sql?

995


What is dbcc updateusage?

1179


Explain what are commit and rollback in sql?

914


Explain about service Broker functions?

1020


Tell me what is sql profiler?

1015


if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration

963