public static String getName(Subcategorias subcat){
        String sql="SELECT * FROM subcategorias WHERE idsubcategorias = '"+subcat.getId()+"'";
        if(!BD.getInstance().sqlSelect(sql)){
            return null;
        }
        if(!BD.getInstance().sqlFetch()){
            return null;
        }
        return BD.getInstance().getString("nombre");
    }