Home > Backend Development > PHP Tutorial > 判断两条最近数据是否不同,多字段,该如何处理

判断两条最近数据是否不同,多字段,该如何处理

WBOY
Release: 2016-06-13 13:41:39
Original
719 people have browsed it

判断两条最近数据是否不同,多字段
每天采集数据,想判断两条最近数据是否变动求语句,多字段,mysql

------解决方案--------------------
计算多字段的特征值,例如md5,入库时保存,判断是否唯一

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