sql minor bug
Merge pull request #276 from shinesoftware/sandbox

sql minor bug