Finish up SQL cookbook. Closes #79.