Get the latest tech news
SQLToy
Learn SQL by creating a SQL database in JavaScript - weinberg/SQLToy
A very simple SQL database which in fact has no parser and therefore cannot even understand the above query directly. What we will be building are Javascript methods for each of the most common SQL operations like SELECT and JOIN. Then we will manually call them (in code) in the correct order to execute the query.
Or read this on Hacker News