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...

5. Display full details from the ORDER_LINE table where the
item number is (first condition) between 1 and 200 (no > or
< operators) OR the item number is greater than 1000 AND
(second condition) the item cost is not in the list 1000,
2000, 3000 OR the order number is not equal to 1000.

Answer Posted / murali

select * from order_line where
itemnum between 1 and 200 or itemnum>100
and
cost not in (1000,2000,3000) or ordernum<>1000

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between sql plus and sql*plus? (not sql and sql plus).

3846


How to use existing values in update statements using oracle?

1032


How to use "in" parameter properly?

1020


Why do we need integrity constraints in a database?

995


How to rename an existing table?

1075


What is the difference between a hot backup and a cold backup in oracle?

981


How would you go about verifying the network name that the local_listener is currently using?

2013


Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.

2278


How to Truncate Table in Oracle

1121


How do I call oracle stored procedures that take no parameters?

1057


How to check your oracle database 10g xe installation?

959


Why cursor variables are easier to use than cursors?

1045


How to convert character types to numeric types?

1080


What are the predefined tablespaces in a database?

1036


Can we store images in oracle database?

967