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