Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 12, 2020 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/657d2689e9477ae5264ccba93816c665 to your computer and use it in GitHub Desktop.
Save parzibyte/657d2689e9477ae5264ccba93816c665 to your computer and use it in GitHub Desktop.
ALTER TABLE materias
ADD CONSTRAINT FK_materias_cursos
FOREIGN KEY(id_curso)
REFERENCES cursos(id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment