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 the difference in accessing db between sql server vs sql azure?
What is the exact numeric data type in sql?
what stored procedure would you use to view lock information? : Sql server administration
How to create an index on a view?
In which tcp/ip port does sql server run? Can it be changed?
Define tempdb database?
How to find the login name linked to a given user name?
How many categories of functions based their return modes?
How to loop through result set objects using mssql_fetch_array()?
How do you send email on SQL Server?
How you can change the database name in SQL SERVER?
what is the sql equivaent of the dataset relation object ?
How to get a list of columns in a view using "sys.columns" in ms sql server?
Explain cdc and sql injection?
Explain features of analysis services?