Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how this can be done?

Re: how this can be done?

From: Daniel Morgan <damorgan_at_exesolutions.com>
Date: Tue, 09 Apr 2002 15:09:37 GMT
Message-ID: <3CB3042E.11A407DF@exesolutions.com>


Undoubtedly it will. You did his homework assignment for him.

Whether he will learn anything is another question.

Daniel Morgan

Praveen wrote:

> select type ||':', count(*) || ' people'
> from <table>
> group by type;
>
> Hope this helps.
>
> Henry wrote:
>
> > however, there could be no employ for a certain type at all.
> >
> > My boss wants an query that list all types with its number of employees.
> > and the sql result will be like:
> >
> > type0 : 5 people
> > type1 : 1 people
> > type2 : 0 people
> > ...
> >
> > how can i accomplish this?
> > thanx a lot!
>
> --
>
> Regards,
>
> Praveen
Received on Tue Apr 09 2002 - 10:09:37 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US