select(): changed query to stmt and response objects