I need to search for a specific domain name is part of a random generated email that has been put into a SQL database. So an email address in one record may be firstname.lastname@example.org and the next email@example.com and so on. They will all have the invalid.com in common. So if i can search the table in this column for emails that have "invalid.com" in the email address and then I want to set that field to NULL.
i think I have part of it figured out but I need help with the last part. if not, I am open for the correct way to do this.
UPDATE q2gbj_users SET email = null WHERE (need help with this part)