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
What is a cursor and what are the steps need to be taken?
How to create a new table by selecting rows from another table?
What is meant by joins?
How to join two tables in a single query using oracle?
What is a package in oracle?
What are a collation and state the different types of collation sensitivity?
Can we insert data in view oracle?
WHAT IS ecc 6.0
What is literal?
What is max rowid in oracle?
How to create a server parameter file?
Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.
What is a private synonym?
Give the various exception types.
How to fetch the row which has the max value for a column?