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 / maulesh
Select Deptname
From Department
Where salary >=5000
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is single-user mode?
What are the limitations in ssrs on sql server express edition?
If a table does not have a unique index, can a cursor be opened on it?
but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration
Can we add a cpu to sql server?
What samples and sample databases are provided by microsoft?
Does full backup break log chain?
Can I delete event logs?
List the various tools available for performance tuning?
How to loop through the result set with @@fetch_status?
Why use “pivot” in sql server?
In what sequence sql statement is processed?
Explain different types of locks in sql server.
What is the partitioning method?
Can you explain important index characteristics?