DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
SQL Window Functions in 5 Minutes: ROW_NUMBER, RANK, Running Totals, Top N

SQL Window Functions in 5 Minutes: ROW_NUMBER, RANK, Running Totals, Top N

Comments
3 min read
First Record with a Specific Value Within Each Group

First Record with a Specific Value Within Each Group

6
Comments
4 min read
PostgreSQL Query Optimization: Indexes, EXPLAIN ANALYZE, B-tree vs GIN vs GiST & the N+1 Problem 🚀

PostgreSQL Query Optimization: Indexes, EXPLAIN ANALYZE, B-tree vs GIN vs GiST & the N+1 Problem 🚀

Comments
17 min read
SQL Server Index Tuning for Beginners: A Practical Guide

SQL Server Index Tuning for Beginners: A Practical Guide

Comments
4 min read
How to Convert Shopify Product CSV Exports into Clean SQL Statements

How to Convert Shopify Product CSV Exports into Clean SQL Statements

Comments
4 min read
HTML Can’t Talk to a Database on Its Own

HTML Can’t Talk to a Database on Its Own

1
Comments
1 min read
How IntaLink for dbt Understands JOINs: Relationship Discovery, Lineage Inheritance, and Fanout Detection

How IntaLink for dbt Understands JOINs: Relationship Discovery, Lineage Inheritance, and Fanout Detection

2
Comments
7 min read
Oracle RMAN vs Data Pump EXPDP/IMPDP

Oracle RMAN vs Data Pump EXPDP/IMPDP

Comments
15 min read
Query Single Record In JooqTemplate

Query Single Record In JooqTemplate

Comments
3 min read
Protecting the source of a PostgreSQL CDC mirror: a step-by-step walkthrough in Hydra Studio

Protecting the source of a PostgreSQL CDC mirror: a step-by-step walkthrough in Hydra Studio

1
Comments 1
7 min read
GDPR is a Storage Problem: Implementing Hard Deletes in Apache Iceberg

GDPR is a Storage Problem: Implementing Hard Deletes in Apache Iceberg

1
Comments
4 min read
SQL Query Cheat Sheet: Essential Queries and Patterns

SQL Query Cheat Sheet: Essential Queries and Patterns

Comments 1
11 min read
Your UNIQUE constraint in PostgreSQL lets duplicates through. Here is how to find every one

Your UNIQUE constraint in PostgreSQL lets duplicates through. Here is how to find every one

Comments
8 min read
A SQL rule that flagged constants, and how we taught it the difference

A SQL rule that flagged constants, and how we taught it the difference

Comments
2 min read
Mastering SQL Anti-Joins: Finding Missing Records with LEFT JOIN and IS NULL

Mastering SQL Anti-Joins: Finding Missing Records with LEFT JOIN and IS NULL

1
Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.