Tagged articles
1 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Aug 20, 2018 · Databases

Unlock PostgreSQL’s Powerful SQL Features: CTEs, UPSERT, Sampling, and More

This article explores PostgreSQL’s advanced SQL capabilities—including Common Table Expressions (WITH), batch inserts, the RETURNING clause, UPSERT with ON CONFLICT, TABLESAMPLE methods, aggregation functions like string_agg and array_agg, and a range of window functions—providing practical examples, performance insights, and guidance for real‑world use.

CTEPostgreSQLSQL
0 likes · 17 min read
Unlock PostgreSQL’s Powerful SQL Features: CTEs, UPSERT, Sampling, and More