It looks like this is 1 of 2 very similar questions you posted. For this question at least, I would suggest that you normalize the data. That is, restructure the table as numberid, jobnumber, jobcount. If you’d rather not restructure the table, you can use a subselect to allow ou to treat the data as if it is in a normalized table. Either way, you can then compare various jobcount values across different numberid values.