This is very smart.
Also a very good choice of language. Reminds me of a comment from a few days ago https://news.ycombinator.com/item?id=18144385
Only yesterday I kinda messed up in an interview because I wasn't good at SQL. Just cursorily checked the link you posted and it is looking good. Thanks for the suggestion.