I need to create a background job that processes a table looking for rows matching on a particular id with different statuses. It will store the row data in a string to comp
SELECT * FROM A AS b INNER JOIN A AS c ON b.a = c.a WHERE b.a = 'some column value'