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 / dd

select salary from employment
where sal between 1000 and 5000

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I import data from excel to db2?

703


What is a db2 cursor?

712


While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?

1919


what is db2 restart?

1779


What is ibm db2 used for?

697






Which are the db2 tools to protect integrity of the database?

776


How to get the ddl of a table in db2?

759


what is the responsibility of the construction superintendent

1744


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3208


What is the difference between bind and rebind in db2?

1003


What is iseries database?

672


What type of database is db2?

607


What do you mean by rollback?

651


Mention the different locking levels that are available in db2.

730


What are foreign keys in db2?

703