Generated the sql queries with their parameters correctly.