SQL Work

Getting close to having working SQL implementation, which would be cool.