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 / devendra sharma
select ID, region from tab1 where ID in
(select ID from tab2 where isnull(age,0)=(select max(age)
from tab2))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does set rowcount do?
What is self contained scalar sub query?
What is xml datatype?
How to download microsoft sql server 2005 express edition?
What is the rdl file?
What is the default fill factor value?
Is profiler the only tool that has the ability to audit and identify ddl events? : sql server security
How to create “dependant” parameter “make, model, year”
What is measure group, measure? : sql server analysis services, ssas
How do I view a script in sql server?
Is it possible to call a stored procedure within a stored procedure?
How is sql server used?
Characterize join and name diverse sorts of joins?
Does partitioning help performance?
How do I connect to sql server database?