createSQquery