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.
How I Recovered Deleted SQL Server Rows Without Ever Enabling CDC or Audit

How I Recovered Deleted SQL Server Rows Without Ever Enabling CDC or Audit

1
Comments
3 min read
SQL Fundamentals: DDL and DML Commands with Practical Examples

SQL Fundamentals: DDL and DML Commands with Practical Examples

1
Comments 1
7 min read
Open-source tool: Practical experience in converting large quantities of SQL code syntax : 'PIVOT' function rewrite (Case 1)

Open-source tool: Practical experience in converting large quantities of SQL code syntax : 'PIVOT' function rewrite (Case 1)

Comments
5 min read
The hardest label in our dataset is the one where nothing happened

The hardest label in our dataset is the one where nothing happened

Comments
14 min read
DDL & DML: The Two Halves of SQL

DDL & DML: The Two Halves of SQL

1
Comments 1
2 min read
Modeling Your Warehouse So AI Can Actually Use It

Modeling Your Warehouse So AI Can Actually Use It

1
Comments 1
2 min read
Open-source tool: Simple example of syntax conversion for batch SQL code: 'ORACLE START WITH CONNECT' syntax conversion

Open-source tool: Simple example of syntax conversion for batch SQL code: 'ORACLE START WITH CONNECT' syntax conversion

1
Comments 1
2 min read
Recursive CTEs, explained from first principles

Recursive CTEs, explained from first principles

3
Comments 2
5 min read
The Unique Index That Makes Your Endpoint Retry-Safe

The Unique Index That Makes Your Endpoint Retry-Safe

Comments 2
3 min read
The Transactional Outbox Pattern: Dual-Write Consistency in Distributed Systems

The Transactional Outbox Pattern: Dual-Write Consistency in Distributed Systems

Comments
3 min read
SQL DATEDIFF Internals: Why 2 Seconds Can Equal 1 Full Day (Boundary Traps)

SQL DATEDIFF Internals: Why 2 Seconds Can Equal 1 Full Day (Boundary Traps)

Comments
2 min read
How to return top-N from each group with GROUP_CONCAT()

How to return top-N from each group with GROUP_CONCAT()

Comments
6 min read
Three ways your dashboard can be correct and still lie

Three ways your dashboard can be correct and still lie

Comments
3 min read
SQLazy: Get the Latest Closed Before ConfirmationStarted

SQLazy: Get the Latest Closed Before ConfirmationStarted

5
Comments
3 min read
🚨 3 PostgreSQL Anti-Patterns That Are Silently Killing Your App's Performance

🚨 3 PostgreSQL Anti-Patterns That Are Silently Killing Your App's Performance

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