Is it possible to hash the entire result in mysql?
Is it possible to apply a hash function to the entire resultset in mysql.
I know how the hash values ββin each row of the result set
eg. SELECT md5('something')
However, I will say that I have a request like
SELECT * FROM `some_table`
And the result set contains many rows, is it possible to hash the entire result set into one value?
It should be clear to me that I don't want a hash for every line. I want one hash of the entire result set.
i.e. one has the whole set.
edited to make the requirement clearer.
+3
source to share
3 answers