Error en MySQLError en MySQL

Se produjo el error número 1064 al intentar ejecutar esta consulta:

SELECT url FROM noticias_estatificadas WHERE cpn=

El mensaje de error es el siguiente:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Si la cosa persiste, el departamento informático estará encantado de intentar arreglarlo, a cualquier hora del día o de la noche.