I have to execute this query:
UPDATE ristoranti SET tipo_cucina = CAST(MULTISET(SELECT REF(t) FROM tipi_cucina t WHERE codice = 'ID01' OR codice = 'ID06') AS t_tipi_cucina) WHERE codice = 9999
ristoranti is a table set on type t_ristorante
t_ristorante_no_albergo is under t_ristoranti
t_ristorante_di_albergo is under t_ristoranti
row of ristoranti with codice = 9999 is a t_ristoranti_no_albergo
t_ristorante_no_albergo has an additional attribute respect t_ristorante: nested table tipo_cucina of t_tipi_cucina type
the error i got is:
ORA-00904: "TIPO_CUCINA": not valid identifier