Multiple SELECT statements into a single JSON
问题 I'm convinced this must be answered somewhere but for the life of me I just can't seem to find anything no matter how much I change my search phrases. I need to select data from two completely independent tables and export the information to JSON. In this case, they're both 1 record in each table. If I select just 1 at a time and export to JSON, they're 1 record, but when I join the two single records in SQL and then export to JSON, they're 1 record arrays. Just 1 record SQL Input: DECLARE