Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / rabindra mishra

Select * from employment table where salary >= 1000 and
>= 50000

It will work Faster then all the above queries

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

2071


what is the role of the cursor in db2?

1071


What is cursor with hold option in db2?

1083


What is table space in db2?

1025


What is bufferpool in db2?

1059


What is the syntax for creating a table in the db2 database?

1109


What is the difference between using bind () and rebind () methods of naming class?

1406


Which component is responsible for db2 startup and shutdown?

1037


Give a brief description of db2 isolation levels?

1076


How to check table size in db2 sap?

1044


Why cursor is used in db2?

1040


What is a storage group (stogroup)?

1248


How is the value function used?

1158


What does a deadlock mean in DB2?

1169


What is the usage of open cursor command?

1103