Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. create table students(
  2. PP INTEGER NOT NULL AUTO_INCREMENT ,
  3. Firstname VARCHAR(15) NOT NULL ,
  4. Secondname VARCHAR(15) NOT NULL,
  5. Math int(1) NOT NULL,
  6. Physics int (1) NOT NULL,
  7. Russian int(1) NOT NULL,
  8. Literature int(1) NOT NULL,
  9. History int(1) NOT NULL,
  10. Computerscience int(1) NOT NULL,
  11. PRIMARY KEY(PP));
  12. INSERT INTO students VALUES('1','Зайцев','Роман','4','4','5','5','4','4');
  13. INSERT INTO students VALUES('2','Иванов','Николай','4','5','4','4','3','4');
  14. INSERT INTO students VALUES('3','Котова','Ксения','2','3','3','3','3','2');
  15. INSERT INTO students VALUES('4','Новикова','Елена','4','3','4','5','3','3');
  16. INSERT INTO students VALUES('5','Сидоров','Петр','5','4','4','5','5','5');
  17. INSERT INTO students VALUES('6','Петрова','Мария','2','2','3','3','3','3');
  18. INSERT INTO students VALUES('7','Фролов','Михаил','3','3','4','4','3','3');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement