I want to find max of all data for all unique JobIDs. Say if
select distinct "jobId" from measurementA
results in
time distin