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 Date & Time Functions: A Practical Guide for Real-World Queries

SQL Date & Time Functions: A Practical Guide for Real-World Queries

Comments
7 min read
Understanding Logic, Reusability and Integrity On SQL ; Procedures, Functions and Transactions.

Understanding Logic, Reusability and Integrity On SQL ; Procedures, Functions and Transactions.

1
Comments
2 min read
PostgreSQL Query Rewriting Techniques

PostgreSQL Query Rewriting Techniques

Comments 1
9 min read
Subqueries vs. CTEs in SQL: What They Are and When to Use Each.

Subqueries vs. CTEs in SQL: What They Are and When to Use Each.

Comments
7 min read
Codd's Connection Trap and Oracle's JOIN TO ONE

Codd's Connection Trap and Oracle's JOIN TO ONE

Comments
8 min read
The bug your Typescript compiler and SQL migration both miss

The bug your Typescript compiler and SQL migration both miss

Comments
1 min read
Postgres Extensions Cheat Sheet: Replace 7 Databases With SQL

Postgres Extensions Cheat Sheet: Replace 7 Databases With SQL

Comments
7 min read
How Databricks Genie Turns Plain English Into SQL Code

How Databricks Genie Turns Plain English Into SQL Code

5
Comments
11 min read
I built a 57-line asyncpg wrapper because SQLAlchemy was driving me insane

I built a 57-line asyncpg wrapper because SQLAlchemy was driving me insane

5
Comments
2 min read
I Analyzed 10 Million Records in 47 Seconds Using Python + DuckDB (No Spark, No Cloud)

I Analyzed 10 Million Records in 47 Seconds Using Python + DuckDB (No Spark, No Cloud)

2
Comments 1
3 min read
Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Comments 1
3 min read
DuckDB 1.5.1, MacBook Benchmarks, & Browser-based Postgres Workspace

DuckDB 1.5.1, MacBook Benchmarks, & Browser-based Postgres Workspace

Comments
3 min read
Four Ways to Use AI With Your Database in VS Code

Four Ways to Use AI With Your Database in VS Code

Comments 1
2 min read
PostgreSQL WHERE Clause Optimization

PostgreSQL WHERE Clause Optimization

Comments
9 min read
NPI Number Validation: How to Clean and Enrich Provider Data in Your Database

NPI Number Validation: How to Clean and Enrich Provider Data in Your Database

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.