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

Given two table employee and department EMP ---------------- empid deptid(fk) Dept --------------------- deptid(pk) deptname que-Write a query to find count of employee in each department. Expected Output- deptid countofEmployee --------------------------- 10 57 20 20 30 15

2 Answers  


What are the differences between char and varchar2 in oracle?

0 Answers  


What are the attributes of cursor?

0 Answers  


Difference between sub query and nested query ?

19 Answers   Keane India Ltd, TCS,


How to import one table back from a dump file?

0 Answers  






How do you recover a datafile that has not been physically been backed up since its creation and has been deleted. Provide syntax example.

1 Answers  


How to use subqueries in the from clause in oracle?

0 Answers  


In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?

0 Answers  


Is it possible to disable the parameter from while running the report ?

1 Answers   Honeywell, Oracle,


How to select all columns of all rows from a table in oracle?

0 Answers  


How to find out what privileges a user currently has in oracle?

1 Answers  


What is different bet native dynamic sql and Dbms_Sql?

4 Answers   Thermotech,


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)