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 JOINS WITH EXAMPLES OF EACH

SQL JOINS WITH EXAMPLES OF EACH

Comments
2 min read
PostgreSQL psql: Schema Navigation Quick Reference

PostgreSQL psql: Schema Navigation Quick Reference

Comments
1 min read
Bringing Relational SQL Databases to the P2P World

Bringing Relational SQL Databases to the P2P World

Comments
3 min read
A SQL interview is a translation test, not a syntax test

A SQL interview is a translation test, not a syntax test

Comments
6 min read
Why Regex SQL Converters Break on Legacy Stored Procedures and How to Fix Them)

Why Regex SQL Converters Break on Legacy Stored Procedures and How to Fix Them)

Comments
3 min read
Zero updated rows do not fail a D1 batch: testing the rollback boundary

Zero updated rows do not fail a D1 batch: testing the rollback boundary

1
Comments 2
4 min read
5 SQL patterns that run fine and still return the wrong answer

5 SQL patterns that run fine and still return the wrong answer

1
Comments
4 min read
Customer Segmentation in SQL With CASE WHEN

Customer Segmentation in SQL With CASE WHEN

Comments
14 min read
How to Practice SQL Online With Nothing Installed (And Where Your Data Goes)

How to Practice SQL Online With Nothing Installed (And Where Your Data Goes)

Comments
11 min read
Where to Get a Sample Database to Practice SQL (And How to Check It Loaded)

Where to Get a Sample Database to Practice SQL (And How to Check It Loaded)

Comments
13 min read
NOT IN can be executed as an Anti-Join (NOT EXISTS) in PG19

NOT IN can be executed as an Anti-Join (NOT EXISTS) in PG19

Comments 2
7 min read
Which SQL Database Should You Install?

Which SQL Database Should You Install?

Comments
6 min read
How to Find Duplicate Rows in SQL (and Decide What Counts as One)

How to Find Duplicate Rows in SQL (and Decide What Counts as One)

Comments
15 min read
Month-over-Month Growth in SQL: LAG, the Growth Formula, and the Traps

Month-over-Month Growth in SQL: LAG, the Growth Formula, and the Traps

Comments
15 min read
COMMENT ON TABLE: How to Store a Table Description in the Database Itself

COMMENT ON TABLE: How to Store a Table Description in the Database Itself

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