Who can repair this it really a wizard. I try to add a column to an existing table. It a compound foreign key column from ather two.
ALTER TABLE valoare_lucrari ADD COLUMN id_oferta FOREIGN KEY (id_ofertant, id_proiect) REFERENCES valoare_lucrari(id_ofertant, id_proiect)
It may be a problem of sintax or even it all idea wrong. But I need to pot in 'id_oferta'
toghether two foreign keys from 'id_ofertant' and 'id_proiect'