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

option 1:
Select * from empoyment table where salary >=1000 and <=50000

option 2:
select * from employment table where salary between 10000 and 50000

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are catalog tables in db2?

685


What is meant by explain?

742


what is the sqlcode -501

11707


what is a corelated subquerry?

738


What is explain plan in db2?

674






What is performance tuning db2?

734


How do you select a row using indexes in db2?

742


How can you do the explain of a dynamic sql statement?

719


Why db2 is called db2?

671


What is difference between alias and synonym in db2?

726


What is runstats and reorg in db2?

905


can we view the access paths created by dbrm ? how ? thx

6441


What are the various data types available in db2?

711


What happens in bind step in a db2 program?

649


Is db2 relational database?

650