Here is what I use (Oracle). Generally I variable the Start date, end date, and client within uc4:
SELECT AH_NAME, AH_alias, AH_Status
FROM AH
WHERE AH_Timestamp4 between to_date('2018-12-10 00:00:00','yyyy-mm-dd HH24:MI:SS')
and to_date('2018-12-12 23:59:59', 'yyyy-mm-dd HH24:MI:SS')
and Ah_client = '<CLIENT>'
and AH_Otype not in ('REPORT', 'CLNT', 'USER','QUEUE')
and AH_Status NOT BETWEEN 1900 and 1999
order by AH_NAME asc
You can also add an AH_name condition to pick a specific job.
Schema for reference:
AE Database 11.2