1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] How to flatten a json array string in Redshift

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 17, 2024 às 06:52.

  1. Stack

    Stack Membro Participativo

    I have a table like this:

    id stage(varchar)
    1 ["a","b"]
    2 ["c"]


    and I need to retrieve the data as the following format:

    id stage
    1 a
    1 b
    2 c



    How should I write my SQL in AWS Redshift?

    Continue reading...

Compartilhe esta Página