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
What are the predefined tablespaces in a database?
What is difference between sid and service name in oracle?
what are actual and formal parameters?
How to execute a stored program unit?
What do you mean by merge in oracle and how can you merge two tables?
What is different types of joins?
How to test null values?
How to sort the query output in oracle?
What is meant by recursive hints in oracle?
What happens if you lost a data file?
What is a trace file and how is it created in oracle?
How to shutdown your 10g xe server?
How many types of tables are there in oracle?
What is Segment Advisor in Oracle?
What happens in oracle commit?