Професионална програма
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
Daniells avatar Daniells 1 Точки

I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up

0