-
-
Save kasramp/dc93d5d85e87d4544408c2fc4468698a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT JSON_ARRAYAGG(JSON_OBJECT('id', id, 'firstName', first_name, 'lastName', last_name, 'age', age)) FROM users; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment