Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-06 09:41:42
Original
1314 people have browsed it

mysqlsql

如题

比如 a表是这样的

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!