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 |
What are the steps to follow to configure SQL*Net?
What is GUID in sql server?
What is a primary key?
What the different components of Replication and what is their use?
Explain unique key in sql server?
Will sql server 2005 allow you to reduce the size of a column?
How to enable tcp/ip protocol on a sql server?
What is the difference between local and global temporary tables?
Can we call a function that has out parameter in select statement
What are the dmvs?
How to create a view with data from multiple tables?
what purpose does OPENXML clause have in sql server stored procedure?
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)