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 / manisha
select b.region from table1 as a,table2 as b
where a.employeeid=b.employeeid and a.[tshirt size]=3
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
What is a bit datatype?
What is the difference between left and right outer join?
Explain the difference between HTTP and HTTPS in database?
what stored procedure would you use to view lock information? : Sql server administration
Explain what is dbcc?
hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.
What is db stored procedure?
What is the use of keyword with encryption.
What is the chart in report?
What are the advantages of user defined function?
What is the use of partition by in sql server?
Does partitioning help performance?
Is sql server 2016 free?
Explain differentiate between a having clause and a where clause?
What is an expensive query?