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