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 is db2 connect?

609


Is db2 a database?

574


What is the default page size of buffer pools?

650


What is dpf in db2?

666


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

553






Name the lockable units in DB2?

665


Mention the definition of cobol in varchar field.

700


What are foreign keys in db2?

616


What is db2 purescale?

551


What is explain in db2?

585


What r the comman abends in db2, jcl and cobol???????

1820


What is cursor in dbms?

595


Which isolation level provides highest data integrity?

599


How to find schema of a table in db2?

572


What is collection in db2 bind?

577