Select id from tbl_noticias where urlfriendly='la-bandera-olimpica-llego-al-cristo-redentor-de-rio-de-janeiro' No database selected