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 / suman rana

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to compare dates in oracle sql?

1105


In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??

1842


How to do clean up if create database failed?

1028


Can you create a synonym without having a table?

1042


Is rowid unique in oracle?

999


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

1034


How to connect to oracle using service name instead of sid?

1026


What are the limitations oracle database 10g xe?

1046


How to get execution path reports on query statements?

987


What is oracle analytical function?

1145


how can db_files > maxdatafiles since db_files is for instance and the later is for database

2623


How to load a large xml file?

1056


How to use values from other tables in update statements using oracle?

1080


Explain drop constraint oracle?

1068


Name the various constraints used in oracle?

1019