STATEMENT_DIGEST_TEXT(statement)

Given an SQL statement as a string, returns the normalized statement
digest as a string in the connection character set, or NULL if the
argument is NULL. For additional discussion and examples, see the
description of the related STATEMENT_DIGEST() function.

URL: https://dev.mysql.com/doc/refman/8.0/en/encryption-functions.html

