Skip to content

Commit 0df9024

Browse files
committed
Patch blog
1 parent 6dafc06 commit 0df9024

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_posts/2026-03-30-a-optimized-language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ $$\pi_{\text{name, email}}(R \bowtie S)$$
4949
vs
5050

5151
```sql
52-
SELECT DISTINCT name, email FROM R INNER JOIN S ON R.id = S.id
52+
SELECT DISTINCT R.name, R.email FROM R INNER JOIN S ON R.id = S.id;
5353
```
5454

55-
21 chars vs 67. The algebra implies distinctness (set-based by definition), so DISTINCT is redundancy the formal notation never needed. SQL trades density for explicitness and practical execution semantics: bag semantics, execution hints, readability for broader audiences. The verbosity is not accidental. But for expressing the pure relational operation, the algebra is unmatched.
55+
16 symbols vs 67. The algebra implies distinctness (set-based by definition), so DISTINCT is redundancy the formal notation never needed. SQL trades density for explicitness and practical execution semantics: bag semantics, execution hints, readability for broader audiences. The verbosity is not accidental. But for expressing the pure relational operation, the algebra is unmatched.
5656

5757
## Programming languages: Ruby vs Java
5858

0 commit comments

Comments
 (0)