combiner CONCAT()
et GROUP_CONCAT()
:
SELECT MD5(GROUP_CONCAT(CONCAT(col1,col2,...))), 1 as g
FROM some_table GROUP BY g;
combiner CONCAT()
et GROUP_CONCAT()
:
SELECT MD5(GROUP_CONCAT(CONCAT(col1,col2,...))), 1 as g
FROM some_table GROUP BY g;