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.
Databases for app developers: the 20% you use every day

Databases for app developers: the 20% you use every day

Comments
11 min read
PostgreSQL torn-page detection and protection

PostgreSQL torn-page detection and protection

5
Comments
17 min read
Enforce SQL Formatting with pre-commit and GitHub Actions

Enforce SQL Formatting with pre-commit and GitHub Actions

1
Comments
10 min read
Semantic SQL in Practice: Jev, Databricks AI Functions, and Snowflake Cortex

Semantic SQL in Practice: Jev, Databricks AI Functions, and Snowflake Cortex

Comments
13 min read
Foundry Agent Webapps: Cosmos or Azure SQL for Backend State, and When?

Foundry Agent Webapps: Cosmos or Azure SQL for Backend State, and When?

Comments
7 min read
Why Naive Cohort Survival Queries Hallucinate a 40% Risk Drop (Plus Landmarking in Python)

Why Naive Cohort Survival Queries Hallucinate a 40% Risk Drop (Plus Landmarking in Python)

Comments
7 min read
Find login streaks in SQL with the gaps-and-islands trick (PostgreSQL and SQLite)

Find login streaks in SQL with the gaps-and-islands trick (PostgreSQL and SQLite)

Comments
7 min read
SQL vs NoSQL: Which One Should You Use?

SQL vs NoSQL: Which One Should You Use?

Comments
5 min read
Spring Data JPA N+1 queries: find them, fix them, test them

Spring Data JPA N+1 queries: find them, fix them, test them

Comments
12 min read
Database Indexes: The Back Page of the Book

Database Indexes: The Back Page of the Book

Comments
4 min read
When LOWER makes a SQLite search miss its own text

When LOWER makes a SQLite search miss its own text

Comments
4 min read
PostgreSQL Redundant Indexes: Is an Index on (a) Redundant When You Have (a, b)?

PostgreSQL Redundant Indexes: Is an Index on (a) Redundant When You Have (a, b)?

Comments
8 min read
SQL Básico

SQL Básico

Comments
16 min read
Using NTILE in GBase 8a: Splitting Rows into Ranked Buckets

Using NTILE in GBase 8a: Splitting Rows into Ranked Buckets

Comments
3 min read
MySQL Generated Columns: VIRTUAL vs STORED, and Which One to Index

MySQL Generated Columns: VIRTUAL vs STORED, and Which One to Index

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