I have a table:
mytable: id userID logDate lastLogDate
For every row in that table, I want to update the \'lastLogDate\' co
I don’t know if I understood you correctly. Otherwise be a bit more specific, but from what I get, you should do something along the lines of:
UPDATE `mytable` SET lastLogDate = (SELECT statement goes here) WHERE ...