File: test.sql

package info (click to toggle)
mysqltcl 3.051-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 844 kB
  • sloc: ansic: 1,916; tcl: 1,276; sh: 142; makefile: 26; sql: 20
file content (23 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CREATE TABLE Student (
  MatrNr int(11) DEFAULT '0' NOT NULL auto_increment,
  Name varchar(20),
  Semester int(11),
  PRIMARY KEY (MatrNr)
);

INSERT INTO Student VALUES (1,'Sojka',4);
INSERT INTO Student VALUES (2,'Preisner',2);
INSERT INTO Student VALUES (3,'Killar',2);
INSERT INTO Student VALUES (4,'Penderecki',10);
INSERT INTO Student VALUES (5,'Turnau',2);
INSERT INTO Student VALUES (6,'Grechuta',3);
INSERT INTO Student VALUES (7,'Gorniak',1);
INSERT INTO Student VALUES (8,'Niemen',3);
INSERT INTO Student VALUES (9,'Bem',5);

CREATE TABLE Binarytest (
  id int(11) DEFAULT '0' NOT NULL auto_increment,
  data longblob,
  PRIMARY KEY (id)
);