Title: STRING_AGG in SQL: Concatenate Grouped Rows with a…
Open Graph Title: STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY
X Title: STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY
Description: PostgreSQL STRING_AGG, MySQL GROUP_CONCAT, and ClickHouse arrayStringConcat(groupArray()): concatenate grouped rows with a delimiter and ORDER BY.
Open Graph Description: PostgreSQL STRING_AGG, MySQL GROUP_CONCAT, and ClickHouse arrayStringConcat(groupArray()): concatenate grouped rows with a delimiter and ORDER BY.
X Description: PostgreSQL STRING_AGG, MySQL GROUP_CONCAT, and ClickHouse arrayStringConcat(groupArray()): concatenate grouped rows with a delimiter and ORDER BY.
Keywords:
Opengraph URL: https://sql.coderang.dev/en/blog/sql-string-agg
Domain: sql.coderang.dev
IPv4 address: 79.137.205.149
{"@context":"https://schema.org","@type":"Organization","@id":"https://sql.coderang.dev/#organization","name":"SQL Arena","url":"https://sql.coderang.dev","logo":{"@type":"ImageObject","url":"https://sql.coderang.dev/android-chrome-192x192.png","width":192,"height":192},"sameAs":["https://t.me/coderang"],"description":"SQL Arena is an interactive SQL training platform — a practice arena, duels, a reference handbook and tutorials for analysts and backend developers."}
{"@context":"https://schema.org","@type":"WebSite","name":"SQL Arena","url":"https://sql.coderang.dev","inLanguage":"en-US","publisher":{"@id":"https://sql.coderang.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":"https://sql.coderang.dev/trainer/tasks?search={search_term_string}","query-input":"required name=search_term_string"}}
{"@context":"https://schema.org","@type":"TechArticle","headline":"STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY","description":"PostgreSQL STRING_AGG, MySQL GROUP_CONCAT, and ClickHouse arrayStringConcat(groupArray()): concatenate grouped rows with a delimiter and ORDER BY.","image":{"@type":"ImageObject","url":"https://sql.coderang.dev/og?lang=en&title=STRING_AGG%20in%20SQL%3A%20Concatenate%20Grouped%20Rows%20with%20a%20Delimiter%20and%20ORDER%20BY","width":1200,"height":630},"datePublished":"2026-06-19T02:55:51.876Z","dateModified":"2026-06-26T02:27:05.000Z","author":{"@type":"Organization","@id":"https://sql.coderang.dev/#organization","name":"SQL Arena"},"publisher":{"@type":"Organization","@id":"https://sql.coderang.dev/#organization","name":"SQL Arena","url":"https://sql.coderang.dev","logo":{"@type":"ImageObject","url":"https://sql.coderang.dev/android-chrome-192x192.png","width":192,"height":192},"sameAs":["https://t.me/coderang"],"description":"SQL Arena is an interactive SQL training platform — a practice arena, duels, a reference handbook and tutorials for analysts and backend developers."},"mainEntityOfPage":{"@type":"WebPage","@id":"https://sql.coderang.dev/en/blog/sql-string-agg"},"inLanguage":"en-US","wordCount":545,"timeRequired":"PT3M","articleSection":"sql"}
{"@context":"https://schema.org","@type":"BreadcrumbList","inLanguage":"en-US","itemListElement":[{"@type":"ListItem","position":1,"name":"SQL Arena","item":"https://sql.coderang.dev/en"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://sql.coderang.dev/en/blog"},{"@type":"ListItem","position":3,"name":"STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY","item":"https://sql.coderang.dev/en/blog/sql-string-agg"}]}
| theme-color | #0a0a0a |
| application-name | SQL Arena |
| author | SQL Arena |
| creator | SQL Arena |
| publisher | SQL Arena |
| googlebot | index, follow, max-image-preview:large, max-snippet:-1 |
| google-site-verification | EaorZzgqTO4qTFsEEiRorcvcDZOqzyHpTwUJwsCjq_Q |
| og:site_name | SQL Arena |
| og:locale | en_US |
| og:image | https://sql.coderang.dev/og?lang=en&title=STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY |
| og:image:width | 1200 |
| og:image:height | 630 |
| og:image:alt | STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY |
| og:image:type | image/png |
| og:type | article |
| article:published_time | 2026-06-19T02:55:51.876Z |
| article:modified_time | 2026-06-26T02:27:05.000Z |
| article:tag | aggregation |
| twitter:card | summary_large_image |
| twitter:image | https://sql.coderang.dev/og?lang=en&title=STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY |
| twitter:image:alt | STRING_AGG in SQL: Concatenate Grouped Rows with a Delimiter and ORDER BY |
Links:
| Server | nginx |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | s-maxage=300, stale-while-revalidate |
Viewport: width=device-width, initial-scale=1, maximum-scale=5, viewport-fit=cover
Robots: index, follow