Web application to practice SQL, meant to be ported from Java/Flash to HTML5/JS