Prepared stmt per window