An SQL statement generator.