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 we give the identity for existing column of the table? (already table contains 10(1-10) unique randam records)
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
What is a stored procedure?
how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A
How to retrieve error messages using odbc_errormsg()?
WHAT IS THE DIFFERENCE BETWEEN CANDIDATE KEY ,COMPOSITE KEY AND PRIMARY KEY. THAN U.
What is query processing?
What are the disadvantages of indexes?
what purpose does OPENXML clause have in sql server stored procedure?
Lets say due to N/W or Security issues client is not able to connect to server or vice versa. How do you troubleshoot?
What the class forname () does?
How to restore performance issues and how to check?