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 to list all schemas in a database?
Do you know what is replace and stuff function in sql server?
Define outer join in sql server joins?
What does indexation mean?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
Explain what is row_number function?
What is the parse query button used for?
What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?
Give main differences between "Truncate" and "Delete".
How to check parameter value in stored procedure sql server?
What is an indice?
Why we use functions in sql server?
How to execute the cursor queries with "open" statements?
What are the hotfixes and patches in sql server?
what is normalization? : Sql server database administration