7. Repeat query (7) but also display all clients who have
never ordered anything.



7. Repeat query (7) but also display all clients who have never ordered anything...

Answer / anjum

select c.custid,c.name,count(o.ordid) from customer c left
join orders o on c.custid=o.custid group by c.custid;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle General Interview Questions

normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

0 Answers   iFlex,


What is clustered table in Oracle?

0 Answers   MCN Solutions,


How to load data from external tables to regular tables?

0 Answers  


How to delete a column in an existing table?

0 Answers  


The join defined by the default data link is an outer join yes or no ?

1 Answers   Oracle,






What is oracle update statement with inner join ?

0 Answers  


How to define an anonymous procedure without variables?

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,


What is partitioned table in Oracle?

0 Answers   MCN Solutions,


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

0 Answers  


Why do we need oracle client?

0 Answers  


What are the different types of trigger and explain its various uses and functions?

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)