Select id from tbl_noticias where urlfriendly='espana-va-por-el-titulo-en-la-copa-de-las-confederaciones' No database selected