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 are the purpose of Normalisation?
 Explain what is sql override for a source taLle in a mapping?
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
Why do you want to join software field as you have done your BE in Electronics?
What is exporting and importing utility?
Explain the commands in sql server?
Explain datetimeoffset data type in sal server 2008?
Explain trigger classes i.e. Instead of and after trigger?
Indexes are updated automatically is the full-text index also updated automatically?
What are the different normalization forms?
What is resource governor?
What are exact numeric data types in ms sql server?
What is sql server schema compare? How we can compare two database schemas?
What is the template in sql?
Define self join in sql server joins?