Created
November 12, 2019 18:31
-
-
Save parzibyte/2540089374cc8dd4b81634304fac9522 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE tu_tabla | |
ADD COLUMN [definición de columna], | |
ADD CONSTRAINT `fk_relacion` FOREIGN KEY (columna_recién_creada) | |
REFERENCES la_otra_tabla(columnaEnLaOtraTabla); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment