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 / rabindra mishra

Select * from employment table where salary >= 1000 and
>= 50000

It will work Faster then all the above queries

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of commit in db2?

636


What does db2 blu stand for?

662


What is bind package and plan in db2?

597


What are the different types of base tables?

587


How do I change the column size in db2?

595






What is runstats and reorg in db2?

800


Explain how can you do the explain of a dynamic sql statement?

654


What do you mean by between and in? Is between inclusive of specified range values?

670


What is check constraint in db2?

611


What do you mean by rollback?

574


What are the uses of db2 optimizer?

819


What are catalog tables in db2?

610


What is the maximum size of varchar data type in db2?

645


What is netezza database?

573


What is innodb buffer pool?

564