It is definitely neat, but I think it's more than an exercise. I believe he runs it through the extensive SQLite test suite (I've seen that before, though I can't see where that's stated now).
Only the TCL and SQL Logic Test are publicly available; it's one of the ways that the SQLite developers get paid.
Pretty sure the lead dev said something along those lines when he did an episode of Corecursive?