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
how would you troubleshoot blocking? : Sql server database administration
What is a natural primary key?
Why do we use non clustered index?
How can you stop stored procedures from recompiling?
What are a database and a data warehouse?
Where is trigger in sql server?
What are Row versions of DataRow?
how we use window authentication connection with sql server.?
What is the recovery model?
What is TDS(Tabular Data Stream) Gateway?
Can we linked SharePoint to a SQL database?
How to read data in a table with "select" statements?
Ways to improve the performance of a SQL Azure Database?
How to loop through result set objects using mssql_fetch_array()?
Find nth lowest salary or get nth lowest salary?