Mysql Workbench SELECT返回0行,没有错误

时间:2017-11-22 15:45:32

标签: mysql database workbench

no rows returned picture, me sql code

insertions

我做了插入,应用了更改。 这是一个剧本:

-- Table `db`.`TrainIn`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `db`.`TrainIn` (
  `TrNumInRec` INT NOT NULL,
  `DateIn` VARCHAR(45) NULL,
  `TrNum` INT NULL,
  `WayInNum` INT NULL,
  PRIMARY KEY (`TrNumInRec`),
  INDEX `WayInNum_idx` (`WayInNum` ASC),
  CONSTRAINT `WayInNum`
    FOREIGN KEY (`WayInNum`)
    REFERENCES `db`.`Towns` (`TownName`)
    ON DELETE CASCADE
    ON UPDATE CASCADE)
ENGINE = InnoDB;

0 个答案:

没有答案