Little Changes in Customer-Table
This commit is contained in:
parent
a0c71c0d4a
commit
608f62f1b5
@ -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),
|
||||
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user