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

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

742


How do I copy a table in db2?

664


What is null in db2?

653


What is buffer pool and list some of them?

711


How to create db2 table in mainframe?

736






What is the default page size of buffer pools?

739


What are the 2 sqlcodes that are returned?

731


Explain about cursor stability?

696


What is the result of open cursor statement?

716


What is the maximum No of rows per page?

709


can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

1898


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1705


Mention the downsides of page level lock.

813


What is the difference between cursor and select statement?

714


What is the use of reorg in db2?

698