add simplequery
Merge pull request #168 from Eric-Brison/3.2-R4273

add simplequery