17. Display the order number and average item cost for each
order.



17. Display the order number and average item cost for each order...

Answer / yogesh sharma

select order_no,avg(cost) from order group by order_no;

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Oracle General Interview Questions

what is the uses of cusor

3 Answers   Perot Systems,


in account table account type amount ac1 credit 300 ac2 debit 5000 ac3 credit 3000 ac1 debit 4000 ac3 debit 2000 ac2 credit 4000 write a query how to get sum of credit & sum of debit

3 Answers   Polaris,


What are the limitations oracle database 10g xe?

0 Answers  


State any two functions of oracle?

0 Answers   Aricent,


what is a view?

7 Answers  






How do I limit the number of rows returned by an oracle query after ordering?

0 Answers  


How to define an explicit cursor in oracle?

0 Answers  


17. Display the order number and average item cost for each order.

1 Answers   Wipro,


Can a primary key contain more than one columns?

2 Answers  


How to create a stored function in oracle?

0 Answers  


What is coalesce function?

0 Answers  


How to load data through external tables?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)