Skip to content
Advertisement

how to SQL select with join from two tables and get one json object

Please I am working on a project and I am kind of stuck in this.

My SELECT is as simple as this:

and I get :

I would like the result to be:

Advertisement

Answer

You can use this code:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement