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 / girija.112

select *
from order_line
where item_number between 1 and 200
or item_number > 1000
intersect
select *
from order_line
where order_number not in (1000,2000,3000)
or order_number <> 1000

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign values to data fields in record variables?

989


What is parameterized cursor in oracle?

1085


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

1824


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

2017


What is the difference between sharding and replication?

982


How to define a variable of a specific record type?

1031


What is the relationship among database, tablespace and data file?

945


What is an oracle wallet?

899


What is not equal to in oracle?

961


What happens to the indexes if a table is recovered?

955


How does the on-delete-cascade statement work?

1070


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

972


What is a server parameter file in oracle?

1021


How would you best determine why your MVIEW couldnt FAST REFRESH?

1857


Difference between cartesian join and cross join?

984