ERROR: syntax error at or near "LIMIT" at character 69