help on multiple pivot

  • helo,

    my report have this format:

    dept. admissions discharges

    M/S F/S M/N F/N M/S F/S M/N F/N

    DERMATLGY 23 0 2 1 12 5 2 0

    OPTHALMGY 3 0 12 1 1 15 2 0

    ETC...

    LEGEND :

    MS - Male Sudanese

    FS - Female Sudanese

    MN - Male non-Sudanse

    MF - Female non-Sudanse

    now this report comes frm various tables and i was able to obtain this by using separate SELECTs statements for every Admissions, Discharges, Discharged-Alive, Disch-Dead and is not a pretty site.

    any tips on how to, in an elegant way.. thanks

  • Can you post the table definitions?

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply