SQL on Khan Academy enabled by SQLite, sqljs, asm.js and Emscripten
Our implementation of SQL is based off of SQLite which is compiled down to asm.js by Emscripten packaged into sqljs.