Answers for "get many value to 1 column sql"

SQL
0

get many value to 1 column sql

select a.id_a
      , a.description
      , coalesce( group_concat(distinct concat(b.description, '[', c.quantity, ']') order by b.id_b separator ', ')
                , '') 
from a
left join c on a.id_a = c.idex_a
left join b on b.id_b = c.idex_b
group by a.id_a
       , a.description
Posted by: Guest on April-20-2022

Code answers related to "get many value to 1 column sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language