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

How to install oracle database 10g xe?

563


What is an external table?

588


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

521


Explain oracle’s system global area (sga).

626


What is an oracle transaction?

588






How to add a new column to an existing table with a default value?

548


What are the ansi data types supported in oracle?

521


How do I uninstall oracle 11g?

563


What is an oracle database?

612


Is insert autocommit in oracle?

605


Is there an oracle sql query that aggregates multiple rows into one row?

544


candidate key is subset of super key but not vice-verse explain

1579


What is format trigger?

1616


What is program global area (pga) in oracle?

608


material view and view disadvantages?

635