i have an employment table whch has salary,dept,name? i want
salary b/w 1000 to 5000 can anyone pls say the query for ths ?

Answer Posted / deepak

Select * from employment table where salary between 1000 to
50000

Is This Answer Correct ?    25 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is deadlock resolved?

650


List down the data types in the db2 database.

636


What is the difference between drop table and delete table?

556


Are view updateable?

629


What is temporal table in db2?

605






I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1938


How will you return the number of records in table?

518


What is view db2?

626


What are the various data types available in db2?

634


DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?

2282


What is explain in db2?

585


Define db2 and its databases?

622


What is the clustering index in the db2 database?

586


What is coalesce in db2?

682


What are the 2 sqlcodes that are returned?

643