Formation
Bdd.database_name • Bdd.columns_count
| Bdd.column_name | Bdd.column_type | Bdd.column_null | Bdd.column_key | Bdd.column_default | Bdd.column_extra |
|---|---|---|---|---|---|
ID_formation |
int(11) | Bdd.no | Bdd.primary_key | Bdd.null_default | - |
Nom_de_la_formation |
varchar(100) | Bdd.yes | - | Bdd.null_default | - |
Description |
text | Bdd.yes | - | Bdd.null_default | - |
Duree |
int(11) | Bdd.yes | - | Bdd.null_default | - |
Cout |
decimal(10,2) | Bdd.yes | - | Bdd.null_default | - |
Date_de_debut |
date | Bdd.yes | - | Bdd.null_default | - |
Date_de_fin |
date | Bdd.yes | - | Bdd.null_default | - |
Nombre_de_places_disponibles |
int(11) | Bdd.yes | - | Bdd.null_default | - |
Bdd.create_table_query
CREATE TABLE `Formation` (
`ID_formation` int(11) NOT NULL,
`Nom_de_la_formation` varchar(100) DEFAULT NULL,
`Description` text DEFAULT NULL,
`Duree` int(11) DEFAULT NULL,
`Cout` decimal(10,2) DEFAULT NULL,
`Date_de_debut` date DEFAULT NULL,
`Date_de_fin` date DEFAULT NULL,
`Nombre_de_places_disponibles` int(11) DEFAULT NULL,
PRIMARY KEY (`ID_formation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
Bdd.key_types
- Bdd.primary_key Bdd.primary_key_desc
- Bdd.unique_key Bdd.unique_key_desc
- Bdd.index_key Bdd.index_key_desc
Bdd.query_examples
SELECT * FROM Formation LIMIT 10;
SELECT COUNT(*) FROM Formation;
DESCRIBE Formation;