I have two tables and my goal is to move specific data from the first table into the second table along with a reason for why that data was moved. For instance:
INSERT INTO bad_data_table SELECT *, 'The ID is NULL' AS Reason FROM raw_data_table WHERE id IS NULL;