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 / vaneesh khurana

Hi All

See the ques properly, he wants rows with salary bwtween
1000 to 5000. If one say between, it wont means inculsion
of 1000 and 5000 thus query will be

select * from employee where salary bwtween 1001 and 4999

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is plan in cobol db2?

595


What are the various isolation levels possible?

649


Before you give the explain statement, what are the prerogatives?

581


What is the role of the data page in the db2 database?

589


Which isolation level provides maximum concurrency?

668






What is blu acceleration in db2?

608


What is the use of dclgen in db2?

591


Is db2 a mainframe?

591


How do I import data from excel to db2?

616


What is schema in db2?

576


Explain the contention situations caused by locks?

594


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

553


What is the difference between plan and package in db2?

581


Define db2.

672


What is alias in db2?

572