Home >Database >Mysql Tutorial >mysql-sql 语句修改一个字段,它的时间字段就跟着变

mysql-sql 语句修改一个字段,它的时间字段就跟着变

WBOY
WBOYOriginal
2016-06-06 09:41:421343browse

mysqlsql

如题

比如 a表是这样的

name number time
哈哈 23 2015-04-02 17:32:08
嘻嘻 44

呵呵 56 2015-04-16 17:32:08

用sql 语句要达到的效果是修改name字段的同时将time字段更新到当前时间 求大神指教

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn