Department
-----------
salary Deptname
1000 A
3000 A
2000 B
3000 B
4000 C
5000 C
select the deptname where salary >=5000
result should be:
Deptname
---------
C
please post only executed query in SQL server 2005
Asked By: Md. Niyaz
Answer Posted / rajkumar
Select Deptname from Department Where salary >=5000
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the different types of collation sensitivity?
Is it possible to have clustered index on separate drive from original table location?
How to get the number of affected rows?
How to drop an existing table with "drop table" statements in ms sql server?
What is query parameter in ssrs?
How to create database with physical files specified in ms sql server?
Is the order of columns in the set clause important in ms sql server?
Differentiate between a local and a global temporary table?
Explain comment on transactions?
How to connect ms access to sql servers through odbc?
Write the queries for commands like Create Table, Delete table, Drop Table etc.
What is normalization? Explain its different types?
Can you create a logon trigger in sql server 2005 express edition?
Do you know what are pages and extents? : SQL Server Architecture
How to display a past time in days, hours and minutes?