db-practise/uebung/crud-1.sql
2025-01-31 13:05:11 +01:00

9 lines
452 B
SQL

# [Aufgabe]: Daten verwalten
insert into locations (title, address) values ('Hauptbahnhof', 'Hauptbahnhof 1, 60329 Frankfurt am Main');
update locations set address = replace(address, 'Domkloster 1', 'Domkloster 4') where title = 'Buchhandlung Dom';
delete from locations where title = 'Buchhandlung Alexanderplatz';
insert into locations (title, address) values ('Buchhandlung Flughafen BER', 'Melli-Beese-Ring 1, 12529 Schönefeld, Deutschland');