Home > Database > Mysql Tutorial > mysql:去除重复行,重复行相加,并修改表。

mysql:去除重复行,重复行相加,并修改表。

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:44:07
Original
1365 people have browsed it

mysql

| 冷水江 | 0.076923 |
| 一 | 0.076923 |
| 煤矿 | 0.076923 |
| 发生 | 0.076923 |
| 瓦斯 | 0.076923 |
| 爆炸 | 0.076923 |
| 事故 | 0.076923 |
| 南京 | 0.076923 |
| 一 | 0.076923 |
以上是原始表;
目标表:
| 冷水江 | 0.076923 |
| 一 | 0.153865 |
| 煤矿 | 0.076923 |
| 发生 | 0.076923 |
| 瓦斯 | 0.076923 |
| 爆炸 | 0.076923 |
| 事故 | 0.076923 |
| 南京 | 0.076923 |

即将重复的“一”相加并修改表。
大家帮帮忙,谢谢。

Related labels:
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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template