I know the title isn't very descriptive, so here's what my data should look like in the columns that I'm concerned with:
123 0
123 0
123 0
123 1
134 0
134 1
145 1
156 0
156 0
156 1
Basically the (1,0) column denotes whether we have completed the process for the job (123,134,145,156). 1 represents being done with the process. In theory every job older than a couple of weeks should be done, however I have run across some instances that have all zeroes in the second column.
How do I query the database to show me every job that isn't done? Basically every row of identical job numbers will be zero in the second column.
Thank you in advance, I've done research, but haven't gotten this figured out. Good with basic SQL, but this is apparently a little above my head. Everything I have run across is dealing with data that would only have one job number per row.