changes Sterbedatum to date_of_death

This commit is contained in:
2023-10-11 07:13:38 +02:00
parent 5b67db9779
commit 6c8d1bbfd6
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
INSERT INTO composer (id, first_name, name, date_of_birth, Sterbedatum) INSERT INTO composer (id, first_name, name, date_of_birth, date_of_death)
VALUES VALUES
(1, "Johann Sebastian", "Bach", 16850331, 17500728), (1, "Johann Sebastian", "Bach", 16850331, 17500728),
(2, "Ludwig van", "Beethoven", 17701217, 18270326), (2, "Ludwig van", "Beethoven", 17701217, 18270326),
@@ -7,7 +7,7 @@ VALUES
(5, "Robert", "Schumann", 18100608, 18560729) (5, "Robert", "Schumann", 18100608, 18560729)
; ;
INSERT INTO composer (id, first_name, name, date_of_birth, Sterbedatum) INSERT INTO composer (id, first_name, name, date_of_birth, date_of_death)
VALUES VALUES
(6, 'Felix', 'Mendelssohn Bartholdy', 18090203, 18471104) (6, 'Felix', 'Mendelssohn Bartholdy', 18090203, 18471104)
; ;

View File

@@ -3,7 +3,7 @@ CREATE TABLE composer (
first_name VARCHAR(255) NOT NULL, first_name VARCHAR(255) NOT NULL,
name VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL,
date_of_birth DATE NOT NULL, date_of_birth DATE NOT NULL,
Sterbedatum DATE date_of_death DATE
); );
CREATE TABLE Werk ( CREATE TABLE Werk (