How I can UPDATE DB Row ?
Posted 16 March 2006 - 09:10 PM
How I can UPDATE a row in my DB (MySQL) but Updating starts from End row to first row ..
If I have 3 rows in my DB and I want to update the last row without any condition ..
Posted 16 March 2006 - 09:24 PM
"UPDATE table SET column='value' ORDER BY id DESC LIMIT 1"
Posted 17 March 2006 - 04:50 AM
Yes that right,
I forgot Order by and I wrote DESC only so, it didn't work
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users