can any one answer this query,thank you in advance
Table 1 has 2 columns: EmployeeId, T shirtsize(values can
be 1,2,3)
Table 2 has 2 columns: EmployeeId, Region
Write SQL to Find the region which has the largest number
of people with Tshirt size=3
Answer Posted / sandeep narayanan
SELECT B.Region FROM TABLE1 AS A
INNER JOIN TABLE2 AS B ON A.EmployeeID=B.EmployeeID
WHERE A.TShirtSize=3
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What does the on delete cascade option do?
How to display a past time in days, hours and minutes?
what are the different stages of Report Processing?
What is the purpose of update statistics and scope_identity() function?
What is SQL Azure Fabric?
What are the advantages of using stored procedures?
Explain sub-query?
What is user-defined function? Explain its types i.e. Scalar and inline table value user-defined function?
How to add code to the existing article (using improve article)?
Explain partitioned view?
How to list all schemas in a database?
What is an example of a primary key?
Hi all, can any one please tell me the difference between sql server 2008 and orace 9i
How do you make a trace?
Scalability, Availability, Integration with internet, etc.)?