UPDATE table SET col1 = val1, col2 = val2 WHERE id = LAST_INSERT_ID(); SELECT LAST_INSERT_ID();. This will update the row with the ID equal to the last inserted ...
確定! 回上一頁