From 608f62f1b56879a2a3ca6f7ac974bbe9a5efe7c6 Mon Sep 17 00:00:00 2001
From: Patrick Keist
Date: Tue, 6 Aug 2019 20:00:38 +0200
Subject: [PATCH] Little Changes in Customer-Table
---
MySQL/Skript_DDL.sql | 2 +-
MySQL/Skript_DML.sql | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/MySQL/Skript_DDL.sql b/MySQL/Skript_DDL.sql
index 2641cb3..6e55f30 100644
--- a/MySQL/Skript_DDL.sql
+++ b/MySQL/Skript_DDL.sql
@@ -33,7 +33,7 @@ CREATE Table IF NOT EXISTS Customer (
customer_id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
firstname VARCHAR(45) NOT NULL,
lastname VARCHAR(45) NOT NULL,
-addressnumber VARCHAR(45) NOT NULL,
+customernumber VARCHAR(45) NOT NULL,
kundenkonto_fk INT UNSIGNED NOT NULL,
tel VARCHAR(20),
eMail VARCHAR(70),
diff --git a/MySQL/Skript_DML.sql b/MySQL/Skript_DML.sql
index 2038434..17ca7c9 100644
--- a/MySQL/Skript_DML.sql
+++ b/MySQL/Skript_DML.sql
@@ -30,9 +30,9 @@ VALUES
INSERT INTO kundenkonto(kundenkonto_id)
VALUES
-(1),(2),(3),(4),(5),(6),(7),(8);
+(1),(2),(3),(4),(5),(6),(7),(8),(9);
-INSERT INTO customer(firstname, lastname, addressnumber, kundenkonto_fk, tel, eMail, url)
+INSERT INTO customer(firstname, lastname, customernumber, kundenkonto_fk, tel, eMail, url)
VALUES
('Nina','Schmid', 'CU00001', 3, '079 666 20 14', 'nina.schmid@test.ch','www.nina.ch'),
('Bilbo','Beutlin', 'CU00002', 1, 'Dose mit Schnur', 'bilbo@auenland.xx','https://de.wikipedia.org/wiki/Auenland'),