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

sql minor bug