save point: Produce sql, transform result