23. Display the client name for all clients who have placed
an order where any order line has more than 3 items. Do not
use a table join anywhere in your query.

Answers were Sorted based on User's Feedback



23. Display the client name for all clients who have placed an order where any order line has more ..

Answer / hrishi

select order_no,count(item_id) from client_order
group by order_no having count(item_id)>3

Is This Answer Correct ?    5 Yes 0 No

23. Display the client name for all clients who have placed an order where any order line has more ..

Answer / name

select client_name,count(item) from clients where item=
(select Item from items )
having count(item)>3

Is This Answer Correct ?    3 Yes 1 No

23. Display the client name for all clients who have placed an order where any order line has more ..

Answer / rharshad

select client_name,count(item) from clients where item in
(select Item from items )
having count(item)>3

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Oracle General Interview Questions

What is the difference between RBBMS & DBMS?

4 Answers  


What is a materialised view?

5 Answers  


How to set up autotrace for a user account?

0 Answers  


Which is better Oracle or MS SQL? Why?

2 Answers   Bally Technologies,


What is Segment Advisor in Oracle?

0 Answers   MCN Solutions,






Table1- have two column filename data AFGDFD-20112011 hi how r u bsdasd-23042011 name shoud be in bold Now i want output like filename data AFGDFD hi how r u bsdasd name shoud be in bold Kindly answer this

3 Answers   HCL,


How to create a stored function in oracle?

0 Answers  


What is oracle and what are its different editions?

0 Answers  


How to convert characters to times in oracle?

0 Answers  


Explain the use of tables option in exp command.

0 Answers  


What is the recommended interval at which to run statspack snapshots, and why?

0 Answers  


How to put more than 1000 values into an oracle in clause?

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)