A simple sql generator for web query.