Skip to content

Instantly share code, notes, and snippets.

@MkLHX
Last active October 4, 2016 11:55
Show Gist options
  • Save MkLHX/b687d50b4844b1f13cf3f962dfabdcc7 to your computer and use it in GitHub Desktop.
Save MkLHX/b687d50b4844b1f13cf3f962dfabdcc7 to your computer and use it in GitHub Desktop.
CREATE DATABASE eleves;
Interclassement : Utf-8;
CREATE TABLE eleve
(
id integer NOT NULL AUTO_INCREMENT,
nom varchar(150),
prenom varchar(150),
age integer,
ville varchar(150),
PRIMARY KEY (id)
);
insert into eleves(nom, prenom, age, ville) values('lehoux','mickael',33,'orléans')
insert into eleves(nom, prenom, age, ville) values('wayne','bruce',42,'gotham')
insert into eleves(nom, prenom, age, ville) values('bond','james',45,'london')
insert into eleves(nom, prenom, age, ville) values('google','good',18,'Mountain View')
insert into eleves(nom, prenom, age, ville) values('laurie','MaMeilleureAmie',35,'Paris')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment