AntiPattern
SQL Filtering Semantics Drift
sql-filtering-semantics-drift
Database queries fail to filter correctly because predicates, identity boundaries, and subquery/partition logic are mixed across layers (auth vs data) or written with non-equivalent SQL shapes, leading to missed/extra rows and brittle performance on joins and LIMIT/IN rewrites.