Paste this into a new question or an answer at dba.stackexchange.com:
*db<>fiddle [here](https://dbfiddle.uk/?rdbms=mysql_8.0&%20-;fiddle=9544BF4E7B9B7B5700E23BC14BD69169)*
back to fiddle