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

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

WBOY
WBOYOriginal
2016-06-13 13:41:39714browse

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

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

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