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
List all the types of user-defined functions?
what is the difference between delete table and truncate table commands? : Sql server database administration
What are page splits? : SQL Server Architecture
Mention the differences between local and global temporary tables.
What are the lambda triggers?
What is default port number for sql server 2000?
Do I need a report server to run reports in my application?
What are the requirements to use odbc connections in php scripts?
Should you normalize audio?
What functions can a view be used to performed?
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
What is BLOCK statements in SQL?
Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?
What is change data capture (cdc) feature?
What is log shipping? Can we do logshipping with SQL Server 7.0 ?