I\'ve got the SELECT query working on my Postgresql (version 10.10 running on Slackware 14.2) setup, but have gotten a bit stuck trying to figure out INSERT and UPDATE. Read