skip to Main Content

Postgresql. Create output like JSON

I have table like next Name tblname_01 tblname_02 tblname_03 CREATE TABLE test ( name varchar(128) ); INSERT INTO test VALUES ('tblname_01'), ('tblname_02'), ('tblname_03'); SELECT * FROM test; I would like to get next output: { "rule-type": "selection", "rule-id": "1001", "rule-name":…

VIEW QUESTION
Back To Top
Search