MySQL after update, update datetime column of same table
问题 I have a table called teamMembers , this table stores a name and an e-mail address of a person: id INT (UNIQUE, AUTOINCREMENT) name VARCHAR(255) email VARCHAR(255) updated DATETIME created TIMESTAMP I've created my trigger using phpMyAdmin and it looks like this in this export: CREATE TRIGGER teamMembers.updated_updater AFTER UPDATE ON teamMembers FOR EACH ROW BEGIN UPDATE teamMembers SET updated = NOW() WHERE id = OLD.id; END So when I use a query like this: UPDATE teamMembers SET name =