Allegra Term / Sold Herds                                           As of:  2019.11.08  22:37

Reported Termination Date - when termination was done

 COUNT(1) PR TDATE        Status
--------- -- ------------ -----------
        8 04 01-OCT-19    Sold
       13 05 01-OCT-19    Sold
        1 06 01-OCT-19    Sold

 COUNT(1) PR TDATE        Status
--------- -- ------------ -----------
        1 02 01-OCT-19    Term
       19 04 01-OCT-19    Term
        4 05 01-OCT-19    Term
        1 06 01-OCT-19    Term
        3 09 01-OCT-19    Term
group by hrd.prv_cd,
*
ERROR at line 15:
ORA-01787: only one clause allowed per query block