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
Answers were Sorted based on User's Feedback
Answer / maulesh
Select Deptname
From Department
Where salary >=5000
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / rajkumar
Select Deptname from Department Where salary >=5000
| Is This Answer Correct ? | 1 Yes | 0 No |
Can you explain what is the use of custom fields in report?
List the data types available in mssql?
What is the xml datatype?
What are subquery and its properties?
How to end a stored procedure properly in ms sql server?
Which table keeps information about stored procedures?
Explain for xml explicit mode?
How display code or Text of Stored Procedure using Sql query in Sql Server ?
List the different normalization forms?
Differences between Standby Vs No recovery?
What are the database objects? : SQL Server Architecture
What is the difference between UNIQUE and DISTINCT keywords in DBMS?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)