Select id from tbl_noticias where urlfriendly='fernando-gonzalez-he-decidido-poner-fin-a-mi-ano-tenistico' No database selected