結果 : create json using sql query