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
What is the distinction amongst delete and truncate?
What are policy management terms?
What is named query? : sql server analysis services, ssas
Can a table be moved to different filegroup?
Can you import Microsoft Excel data to SSRS?
What is self join in sql server joins?
What is an entity-relationship diagram (erd)?
What are temporal tables in sql server 2016?
explain different types of joins? : Sql server database administration
What are the differences between web role and worker role?
What are the restrictions that views have to follow? : SQL Server Architecture
What are the encryption mechanisms in sql server?
Name three of the features managed by the surface area configuration tool? : sql server security
What are different types of roles provided by ssrs?
How the authentication mode can be changed?