1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| create table pictures
( dos_tof char(8) not null
, name_tof varchar(255) not null
, width decimal(5.0) not null
, height decimal(5.0) not null
)
;
INSERT INTO pictures (dos_tof, name_tof, width, height) VALUES
('dossier1', 'PictureDos1_01.jpg', 101, 151),
('dossier1', 'PictureDos1_02.jpg', 201, 301),
('dossier1', 'PictureDos1_03.jpg', 401, 601),
('dossier1', 'PictureDos1_04.jpg', 501, 751),
('dossier1', 'PictureDos1_05.jpg', 601, 901),
('dossier1', 'PictureDos1_06.jpg', 701, 1051),
('dossier1', 'PictureDos1_07.jpg', 801, 1201),
('dossier1', 'PictureDos1_08.jpg', 901, 1351),
('dossier1', 'PictureDos1_09.jpg', 1001, 1501),
('dossier1', 'PictureDos1_10.jpg', 1101, 1651),
('dossier1', 'PictureDos1_99.jpg', 802, 1651),
('dossier2', 'PictureDos2_01.jpg', 102, 152),
('dossier2', 'PictureDos2_02.jpg', 202, 302),
('dossier2', 'PictureDos2_03.jpg', 402, 602),
('dossier2', 'PictureDos2_04.jpg', 502, 752),
('dossier2', 'PictureDos2_05.jpg', 602, 902),
('dossier2', 'PictureDos2_06.jpg', 702, 1052),
('dossier2', 'PictureDos2_07.jpg', 802, 1202),
('dossier2', 'PictureDos2_08.jpg', 902, 1352),
('dossier2', 'PictureDos2_09.jpg', 1002, 1502),
('dossier2', 'PictureDos2_10.jpg', 1102, 1652),
('dossier2', 'PictureDos2_99.jpg', 2000, 0300),
('dossier3', 'PictureDos3_01.jpg', 103, 153),
('dossier3', 'PictureDos3_02.jpg', 203, 303),
('dossier3', 'PictureDos3_03.jpg', 403, 603),
('dossier3', 'PictureDos3_04.jpg', 503, 753),
('dossier3', 'PictureDos3_05.jpg', 603, 903),
('dossier3', 'PictureDos3_06.jpg', 703, 1053),
('dossier3', 'PictureDos3_07.jpg', 803, 1203),
('dossier3', 'PictureDos3_08.jpg', 903, 1353),
('dossier3', 'PictureDos3_09.jpg', 1003, 1503),
('dossier3', 'PictureDos3_10.jpg', 1103, 1653)
; |
Partager