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.
Online Voting System in my facing challenges.....

Online Voting System in my facing challenges.....

1
Comments
2 min read
How to Pass the Amazon SQL Interview (A Practical Guide)

How to Pass the Amazon SQL Interview (A Practical Guide)

Comments
4 min read
Advanced SQL: Mastering CTEs and Window Functions

Advanced SQL: Mastering CTEs and Window Functions

Comments
3 min read
What actually happens in a database index (and why half of them do nothing)

What actually happens in a database index (and why half of them do nothing)

2
Comments 1
4 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
We Replaced 3 Microservices With One Postgres Table

We Replaced 3 Microservices With One Postgres Table

6
Comments
7 min read
How to Solve a Month-over-Month Churn SQL Interview Question

How to Solve a Month-over-Month Churn SQL Interview Question

Comments
4 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 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
Don't put an LLM in charge of your production database

Don't put an LLM in charge of your production database

Comments
5 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
👋 Sign in for the ability to sort posts by relevant, latest, or top.