You can use Query Rewrite Plugins in 5.7 and implement in on your own. See https://dev.mysql.com/doc/refman/5.7/en/rewriter-query-rewrite-plugin.html
You can use Query Rewrite Plugins in 5.7 and implement in on your own. See https:/ /dev.mysql. com/doc/ refman/ 5.7/en/ rewriter- query-rewrite- plugin. html