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

please can anyone answer this query

Table 1 has 2 columns: EmployeeId,Age
Table 2 has 2 columns: EmployeeId, Region
Write SQL to Find the region who has the oldest person

Answer Posted / shivaraj


select region from table1 where employeeid in (select
employeeid from table2 where age in (select max(age) from
table2))

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what is lock escalation?

993


How do I open port 1433?

919


What do you mean by subquery?

1069


What is the use of stored procedure?

923


What are the differences between having and where clause.

956


What is a trigger in sql server?

1142


What is difference between drop truncate and delete?

1068


How do you create type- insensitive operator?

1024


how you can move data or databases between servers and databases in sql server? : Sql server administration

947


How to create nested stored procedure?

998


What are the recovery models for a database?

1096


Is it possible to have clustered index on separate drive from original table location?

946


How to include text values in sql statements?

1020


How to find the source of a table in sql server?

977


What is candidate key with example?

963