Skip to content

Separator in group_concat #638

Answered by lovasoa
DSMejantel asked this question in Q&A
Oct 6, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

So, in your case, with group_concat, the solution would look like this:

select 
    'foldable' as component;
select 
    title,
     group_concat(
        horodatage||' : '||nature||' --> '||notes ,
        CHAR(10) || CHAR(10) -- two line breaks between paragraphs
    ) as description_md;

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@DSMejantel
Comment options

Comment options

You must be logged in to vote
2 replies
@lovasoa
Comment options

Answer selected by DSMejantel
@DSMejantel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants