Syntax:
GTID_SUBTRACT(set1,set2)

Given two sets of global transaction identifiers set1 and set2, returns
only those GTIDs from set1 that are not in set2.

URL: https://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html

