Select id from tbl_noticias where urlfriendly='chile-consigue-dos-plazas-para-los-panamericanos-gracias-a-tomas-gonzalez' No database selected