An open API service indexing awesome lists of open source software.

https://github.com/brian-emarquez/mysql-training

Modelo Entidad Relacion (ER)
https://github.com/brian-emarquez/mysql-training

mysql sql

Last synced: about 1 year ago
JSON representation

Modelo Entidad Relacion (ER)

Awesome Lists containing this project

README

          

MySQL Training








Stars



Forks



























## Install

📦 [MySQL Workbench](https://dev.mysql.com/downloads/workbench/) MySQL Community Downloads

📦 [MariaDB](https://mariadb.org/download/?t=mariadb) Download MariaDB Server

## Comands

_Restore Database MYSQL_

[Restaurar base de datos o importar datos](https://www.youtube.com/watch?v=GHwbQ9HBX0E)

_Diagram E-R_

[Relaciones en MySQL Workbench](https://www.javierrguez.com/generar-diagrama-entidad-relacion-mysql/)

* SQL FOREIGN KEY on CREATE TABLE

```sql
CREATE TABLE parent (
id INT NOT NULL,
PRIMARY KEY (id)
) ENGINE=INNODB;

CREATE TABLE child (
id INT,
parent_id INT,
INDEX par_ind (parent_id),
FOREIGN KEY (parent_id)
REFERENCES parent(id)
ON DELETE CASCADE
) ENGINE=INNODB;
```

_Alter Table Forenkey_

```sql
alter table tbtipodocumentopersonal
DROP CONSTRAINT fk_tbtipodocumentopersonal_tbdependiente1;
```

---

## Paypal Donation
🩸 Hacer una donación [PAYPAL](https://www.paypal.com/donate?hosted_button_id=98U3T62494H9Y)

## License
Todo acerca de la licencia [LICENCE](https://github.com/BrianMarquez3/MySQL-Training/blob/main/LICENCE)