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 is the difference between ‘having’ clause and a ‘where’ clause?

1028


What do you understand by replication in sql server? Mention the different types of replication in sql server.

932


Name and describe few console utilities for ssrs?

284


What is the return type of executeupdate ()?

887


What happens if null values are involved in string operations?

969


How to test subquery results with the exists operator?

1086


Why are you getting errors when creating a new odbc dsn?

1203


What is federation member?

114


What happens if the update subquery returns multiple rows in ms sql server?

1103


How to generate random numbers with the rand() function in ms sql server?

1124


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

956


What are exact numeric data types in ms sql server?

1051


as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration

892


What’s the distinction between dropping a info and taking a info offline?

1023


How to download and install the scaled-down database adventureworkslt?

978