Професионална програма
Loading...
Djombeto avatar Djombeto 6 Точки

1. Create tables !?

Create Tables
In the newly created database Minions add table minions (id, name, age). Then add new table towns (id, name). Set
id columns of both tables to be primary key as constraint. Submit your create table queries in Judge together for
both tables (one after another separated by “;”) as Run queries & check DB.


 

CREATE TABLE `minions` (
  `id` INT NOT NULL AUTO_INCREMENT,
  `name` VARCHAR(45) NULL,
  `age` INT NOT NULL,
  PRIMARY KEY (`id`));

CREATE TABLE `towns` (
  `id` INT NOT NULL AUTO_INCREMENT,
  `name` VARCHAR(45) NULL,
  PRIMARY KEY (`id`));


66/100 whyyyyyy?????

Тагове:
0
Databases Basics - MySQL
TsvetanV.Aleksiev avatar TsvetanV.Aleksiev 1 Точки

Максимум взимам 57/100 със всякакви видове код, включително 1/1 с този на лектора, на него му дава 100

0