A trigger is needed that will update the "last_updated" column in a table every time a row is inserted or updated.
The candidate's solution is complete and solves the problem. The approach is optimal because it only updates the last_updated column for the row that was inserted or updated.
Evaluated at: 2022-11-04 19:56:45