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

Which command is used to remove all rows from a table?

650


can all users have the privilage to use the sql statement select * (dml)?

734


run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...

3894


Explain in brief how does db2 determine what lock-size to use?

674


Which isolation level provides highest data integrity?

675






What is the difference between using bind () and rebind () methods of naming class?

908


What are union and union all?

626


what is diffrence b/w file-aid tool and file-aid utility???

4331


What action db2 takes when a program aborts in the middle of a transaction?

742


How can the duplicate values be eliminated from db2 select?

729


What is an instance database?

694


How does cobol compile db2 program?

707


List out the three types of page locks that can be held.

789


Can we update view in db2?

652


What is explain in db2?

656