Checksum of SELECT results in MySQL
问题 Trying to get a check sum of results of a SELECT statement, tried this SELECT sum(crc32(column_one)) FROM database.table; Which worked, but this did not work: SELECT CONCAT(sum(crc32(column_one)),sum(crc32(column_two))) FROM database.table; Open to suggestions, main idea is to get a valid checksum for the SUM of the results of rows and columns from a SELECT statement. 回答1: The problem is that CONCAT and SUM are not compatible in this format. CONCAT is designed to run once per row in your