Allegra Term / Sold Herds                                           As of:  2019.09.08  22:35

Reported Termination Date - when termination was done

 COUNT(1) PR TDATE        Status
--------- -- ------------ -----------
        1 02 01-AUG-19    Sold
        8 04 01-AUG-19    Sold
        5 05 01-AUG-19    Sold
        1 06 01-AUG-19    Sold
        1 08 01-AUG-19    Sold
        1 09 01-AUG-19    Sold

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