Learn about Steampipe
Install go, then:
$ git clone https://github.com/judell/steampipe-plugin-hello
$ cp ./config/hello.spc ~/.steampipe/config
$ make
$ steampipe query
> select * from hello_list order by id
+----+----------+-------------------+-----------------------------+
| id | greeting | json | _ctx |
+----+----------+-------------------+-----------------------------+
| 2 | Hello | {"hello":"world"} | {"connection_name":"hello"} |
| 1 | Hello | {"hello":"world"} | {"connection_name":"hello"} |
| 3 | Hello | {"hello":"world"} | {"connection_name":"hello"} |
+----+----------+-------------------+-----------------------------+