#sqlbugs

PrecisionSQLPrecisionSQL
2026-02-06

'10' + 5 In SQL Does WHAT?!

SQL implicit type conversion will shock you! Adding string '10' to number 5 creates something unexpected. This breaks type safety! Watch!

youtube.com/watch?v=21ggk4VvFvM

PrecisionSQLPrecisionSQL
2026-02-04

10 % 0 Modulo By Zero Returns WHAT?!

Modulo by zero in SQL doesn't always crash! Some databases return NULL, others error. This breaks math operations! Watch the chaos!

youtube.com/watch?v=S-r3m92XI70

PrecisionSQLPrecisionSQL
2026-02-03

NULL IN (1,2,3) Is NOT What You Think!

Your brain will explode! Checking if NULL is IN a list returns something that makes NO sense. This breaks every query! Watch the chaos!

youtube.com/watch?v=5FqLSPXnieA

PrecisionSQLPrecisionSQL
2026-01-24

Three-Valued Logic: AND - OR With NULL?!

SQL has THREE truth values: TRUE, FALSE, and UNKNOWN (NULL)! AND/OR with NULL creates logic that breaks everything! Watch!

youtube.com/watch?v=Dg3yabp9sa4

PrecisionSQLPrecisionSQL
2026-01-17

GROUP BY NULLs Are Treated As ONE?!

GROUP BY treats all NULLs as the same group! Multiple NULL rows get grouped together. This breaks grouping logic! Watch now!

youtube.com/watch?v=KCBZwLbAF8Y

PrecisionSQLPrecisionSQL
2026-01-16

NULL = NULL Is FALSE In SQL?!

STOP SCROLLING! Comparing NULL to NULL in SQL returns FALSE, not TRUE! This breaks every assumption about equality. Your mind will explode! Watch now!

youtube.com/watch?v=5x89cEbWuPg

PrecisionSQLPrecisionSQL
2026-01-15

COALESCE(NULL, NULL, NULL) Returns WHAT?!

COALESCE with all NULLs returns something that defies logic! This function is supposed to return first non-NULL but what if all are NULL? Watch!

youtube.com/watch?v=85Dkogn0mPY

PrecisionSQLPrecisionSQL
2026-01-14

EXISTS vs IN With NULL Breaks Logic!

EXISTS and IN behave completely differently with NULL! One works, one doesn't. This breaks subquery logic! Watch the chaos!

youtube.com/watch?v=dwtsETOcH2Q

PrecisionSQLPrecisionSQL
2026-01-06

NULLIF(5, 5) Returns NULL?!

NULLIF with same values returns NULL instead of the value! This function behavior will break your brain. Watch the reveal!

youtube.com/watch?v=Srv4R_xD-do

PrecisionSQLPrecisionSQL
2026-01-05

Empty String '' vs NULL Are DIFFERENT?!

SQL treats empty strings and NULL completely differently! This hidden difference breaks string logic. Your mind will short-circuit! Watch!

youtube.com/watch?v=MwxAtMuqq3g

PrecisionSQLPrecisionSQL
2026-01-04

ORDER BY NULLs Go WHERE?!

ORDER BY with NULLs creates chaos! NULLs can go first or last depending on database. This breaks sorting logic! Watch!

youtube.com/watch?v=TvSwjgh3tw4

PrecisionSQLPrecisionSQL
2026-01-03

SUM - AVG With Zero Rows Returns WHAT?!

Aggregate functions with zero rows return NULL, not zero! SUM of nothing is NULL, not 0. This breaks aggregate logic! Watch!

youtube.com/watch?v=fPdWHWUDZDs

PrecisionSQLPrecisionSQL
2026-01-02

CAST('ABC' AS INT) Crashes Or Returns NULL?!

CASTing non-numeric string to INT doesn't always error! Some databases return NULL, others crash. This breaks type safety! Watch!

youtube.com/watch?v=y1lNC0b_Hbc

PrecisionSQLPrecisionSQL
2026-01-01

'Hello' = 'HELLO' Is TRUE Or FALSE?!

SQL string comparison case sensitivity depends on collation! Same strings can be equal or not. This breaks string matching! Watch!

youtube.com/watch?v=Qd2Qw5nRsAI

PrecisionSQLPrecisionSQL
2025-12-31

NULL In WHERE Clause Returns WHAT?!

STOP SCROLLING! Using NULL in WHERE clause creates something impossible! WHERE col = NULL returns ZERO rows. This breaks all logic! Watch now!

youtube.com/watch?v=-KaTp1Cv5HA

PrecisionSQLPrecisionSQL
2025-12-30

SUM Of Empty Set Returns WHAT?!

SUM of an empty set or all NULLs returns something unexpected! This breaks all math assumptions. Your mind will explode! Watch now!

youtube.com/watch?v=Z-94Yr5vElY

PrecisionSQLPrecisionSQL
2025-12-28

AVG Ignores NULL Values?!

AVG function silently ignores NULL values! This creates averages that are mathematically wrong. This breaks financial calculations! Watch!

youtube.com/watch?v=5tbIlazlcGI

PrecisionSQLPrecisionSQL
2025-12-27

String Functions With NULL Return NULL?!

LEN, SUBSTRING, and other string functions with NULL return NULL, not error! This breaks string processing logic! Watch the reveal!

youtube.com/watch?v=FXql2wP0kmg

PrecisionSQLPrecisionSQL
2025-12-26

MAX - MIN With All NULLs Returns WHAT?!

MAX and MIN with all NULL values return something impossible! These functions are supposed to find extremes but what about NULLs? Watch!

youtube.com/watch?v=8o4s0DK1sNM

PrecisionSQLPrecisionSQL
2025-12-25

DATEADD(month, 1, '2024-01-31') Returns WHAT?!

Adding 1 month to Jan 31 creates something impossible! February doesn't have 31 days. SQL handles this in a weird way! Watch!

youtube.com/watch?v=ScnzvIGxeEQ

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst