CREATE TABLE fotos ( id INT(4) NOT NULL AUTO_INCREMENT PRIMARY KEY, description CHAR(50), bin_data LONGBLOB, filename CHAR(50), header ENUM('JPEG','PNG','GIF'), tags VARCHAR(200), autor VARCHAR(30) );