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

select *from emp where salary between 1000 to 50000

Is This Answer Correct ?    9 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the different locking levels that are available in db2.

647


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

629


What's The Error Code For Unique Index Voilation?

655


How connect db2 database to datastage?

765


What is the use of runstats in db2?

579






What is the usage of open cursor command?

601


What is access path in db2?

566


What is package in db2 mainframe?

559


What is the use of reorg in db2?

608


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

706


What is the reason behind not using select * in embedded sql programs?

603


What is cursor stability in db2?

813


Which components manage deadlocks in db2?

615


How do I delete a column in db2?

680


Explain db2.

620