I have a need to display the total count, a conditional count, and a
percentage.  Tables:

Orgs table
OrgSkey         OrgName
        1       ABC
        2       DEF
        3       GHI
        4       JKL

Mfgs table
MfgSkey         OrgSkey
        1       2
        2       4

I need a count of All Orgs, and a count of Orgs that are Mfgs, and the
Percentage that are Mfgs in one sql statement.

I know how to do this in SQL Server, but not in Oracle.  Many thanks
in advance,

Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to