My Test Command
My Test Command
mysql -u root -p
3) mysql -u Baron -p
Enter password: ****
5) -TAB1 create table employes(id_employe int (30) auto_increment primary key, nom
varchar (30) not null, prenom varchar (12) not null, matricule int (12) unique,
nbre_heure int (12) not null, salaire int (12) not null, salaire_total int (12) not
null, id_departement varchar(12));
-TAB2 create table departement(id_departement varchar (12) primary key,
nom_departement varchar (30) not null);
(desc employes;)= pour verifier la table créer
8) insert into
employes(nom,prenom,matricule,nbre_heure,salaire,id_departement)values('Bagalwa','R
amazani',231012,9,250000,'GGT'),('Isaac','Baron',231016,5,300000,'info'),
('Benedict','Kasereka',231002,2,250000,'SAE'),
('Isaac','Sakoul',23186,8,250000,'GCV'),('Power','Net',231064,9,300000,'Bio');
(selesct*from employes;)= pour voir la table accorder
TYPE 2