update sql.
Merge pull request #166 from forumbyr/master

update sql.