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
How to experiment a data lock in oracle?
Is it possible to split the print reviewer into more than one region ?
Explain an extent?
What is the difference between PFILE and SPFILE in Oracle?
Explain the difference between replace() and translate() functions in oracle?
How can windows applications connect to oracle servers?
How to create a new table in your schema?
How to login to the server without an instance?
Can group functions be mixed with non-group selection fields?
What is oracle update statement with inner join ?
How to export several tables together?
Explain overloading. Can functions be overloaded?
What is ASM (Automatic Storage Management) in Oracle?
What is a Garbage Collection? and what is full recursive Garbage collection?
Explain temporal data types in oracle