I have a table with detail payroll records. I want a query that will summarize the payroll detail based on job no (repeating value)