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

What is the fastest query method to fetch data from the table?

1296


How to define a data field as not null?

1061


How to delete a user account in oracle?

916


What are the differences between char and nchar in oracle?

1022


Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?

1047


What is raw datatype?

1082


Difference between cartesian join and cross join?

960


How to specify default values in insert statement using oracle?

1038


Explain database link?

1062


What is the simplest tool to run commands on oracle servers?

958


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

2309


Does oracle charge for java?

1008


Can I create users through internet explorer in oracle 10g?

1020


Point the difference between translate and replace?

1028


Explain constraining triggers.

1045