Ajout des index

This commit is contained in:
Albert Braimi 2025-10-28 17:17:31 +01:00
parent ee4ce7140b
commit 529fc55c4f
2 changed files with 20 additions and 0 deletions

View File

@ -433,4 +433,24 @@ ORDER BY
900 rows in set (0.012 sec)
```
## Index
##### Création index 1
```sql
CREATE INDEX idx_vol_compagnie_heure_depart ON t_vol(compagnie_fk, heure_depart);
```
```
Query OK, 0 rows affected (0.265 sec)
Records: 0 Duplicates: 0 Warnings: 0
```
##### Création index 2
```sql
CREATE INDEX idx_vol_heure_depart ON t_vol(heure_depart);
```
```
Query OK, 0 rows affected (0.205 sec)
Records: 0 Duplicates: 0 Warnings: 0
```

Binary file not shown.