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

SELECT REGION,AGE, T1.EMPID FROM T2 INNER JOIN T1
ON T1.EMPID = T2.EMPID WHERE AGE = (SELECT MAX(AGE) FROM T1)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are user defined datatypes? : Sql server database administration

1015


How to receive returning result from a query?

1191


What does it mean if @@cursor_row returns a negative number?

1037


What is cached report?

150


How do you delete duplicate rows in sql server?

1004


What to check if a User database is locked?

1115


You want to implement the one-to-one relationship while designing tables. How would you do it?

1013


What is 3nf normalization?

1051


What are unicode character string data types in ms sql server?

1346


what kind of lan types do you know? : Sql server database administration

1021


How do you create a clustered index?

1129


Where do we use trace frag?

1062


What are truncate options available in sql server? : sql server database administration

1084


What is key attribute?

981


Can you create a logon trigger in sql server 2005 express edition?

1125