i need to know how i display department which has salary >
=5000 for the below table
Department
-----------
salary deptname
1000 a
3000 a
2000 b
3000 b
4000 c
5000 c

kindly send the query to thilakvinoth13@gmail.com

Answer Posted / guest

select deptname from department where salary>=5000

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute a sql statement using mssql_query()?

541


Is truncate autocommit?

557


How do I find the sql server version?

516


If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio

554


What are different types of raid levels?

547






What are the ways available in sql server to execute sql statements?

564


Explain about builtinadministrator?

585


Explain “row_number()” in sql server with an example?

518


What are the advantages dts has over bcp?

524


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

523


how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?

1093


How many database files are there in sql server 2000?what are they?

574


Explain trigger classes i.e. Instead of and after trigger?

485


Can you explain powershell included in sql server 2008?

503


Define clusters?

643