Use pre-compiled SQL statement for speed