4. Display the order number and client number from the ORDER
table. Output the result in the format. Client <clientno>
ordered <orderno>
Answer Posted / girija.112
select 'Client '|| nvl (to_char(client_no),'unknown') ||'
has placed order to the value of '|| nvl(sum(order_no),0)
order_summary
from order
group by client_no
OUTPUT...
ORDER_SUMMARY
---------------------------------------------------
Client unknown has placed order to the value of 200
Client 1006 has placed order to the value of 4
Client 1008 has placed order to the value of 0
Client 1004 has placed order to the value of 54
Client 1005 has placed order to the value of 450
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a lookup table in oracle?
Explain the use of rows option in exp command.
How to pass parameters to procedures?
What is oracle latest version?
Can we store images in oracle database?
What is a view and how is it different from a table?
How to use an explicit cursor without open statements?
What is oracle data type?
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.
What is a user account in oracle?
How do I connect to oracle?
In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col
How can we find out the current date and time in oracle?
How to store pictures on to the database?
What is the difference between translate and replace in oracle?