Paste this into a new question or an answer at dba.stackexchange.com:
*db<>fiddle [here](https://dbfiddle.uk/?rdbms=postgres_10)*
back to fiddle