sql typo
added github link and a little extra documentation