Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain do view contain data?

1016


How to write numeric literals in oracle?

1190


How do you bind variables in oracle?

985


What are the advantages of oracle 12c?

1182


Where do you use decode and case statements?

1000


What is an oracle?

1022


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1857


Explain the use of rows option in exp command.

1095


How to get last row id?

1001


How to work with data objects interactively?

991


How to list all tables in your schema?

1055


What is snapshot is too old? Give and example for better understand.

1607


How to export your own schema?

1011


What is columnar storage what is the advantage?

1066


What are the different types of synonyms?

1140