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 an oracle table?

0 Answers  


Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..

0 Answers  


How do I know if oracle client is installed on windows?

0 Answers  


What is Database Buffers ?

1 Answers  


How to start your 10g xe server from command line?

0 Answers  






Explain the use of Merge statement in oracle 11g

0 Answers   Infosys,


What happens if the imported table already exists?

0 Answers  


What happens to the current transaction if a ddl statement is executed?

0 Answers  


write sql query following source are EmpID, Salary 101 1000 102 2000 103 3000 I want the output format like following empid,sal,composite_sal 101 1000 1000 102 2000 3000 103 3000 6000

4 Answers   TCS,


1) WIll all the user get the DEFAULT profile, if their current profile got deleted at any point of time? 2) What are the Situation we need to MOVE the TABLE between T.spaces? 3) What is the use of MOVING the TABLE between SCHEMA'S? 4) What are the Table Clause, Segment Clause and the Datafile Clause which will override each other? 5) Explain SORT_AREA_SIZE of Tempfile to make UNIFORM SIZE

0 Answers  


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

0 Answers  


How to view the data files in the current database?

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)