Select id from tbl_noticias where urlfriendly='hector-tapia-firma-por-colo-colo-hasta-junio-del-2015' No database selected