Erstelle Relationenschema: • Fertigungsstrasse(ID, Bezeichnung, Kuerzel, ↑Produkt_ID) • Produkt(ID, Artikelnummer, Bezeichnung) • Fertigungsstation(ID, Bezeichnung, Kuerzel, ↑Fertigungsstrasse_ID) • Maschine(ID, Anlagennummer, Bezeichnung, ↑Fertigungsstation_ID) • Mitarbeiter(ID, Personalnummer, Vorname, Nachname, ↑Fertigungsstation_ID) • Mitarbeiter_kann_bedienen_Maschine(↑Mitarbeiter_ID, ↑Maschine_ID) SQL: CREATE TABLE Produkt( ID INTEGER NOT NULL, Artikelnummer INTEGER, Bezeichnung VARCHAR(30), PRIMARY KEY(ID)); CREATE TABLE Fertigungsstrasse( ID INTEGER NOT NULL, Bezeichnung VARCHAR(30), Kuerzel VARCHAR(10), Produkt_ID INTEGER NOT NULL, PRIMARY KEY(ID), FOREIGN KEY(Produkt_ID) REFERENCES Produkt(ID)); CREATE TABLE Fertigungsstation( ID INTEGER NOT NULL, Bezeichnung VARCHAR(30), Kuerzel VARCHAR(10), Fertigungsstrasse_ID INTEGER NOT NULL, PRIMARY KEY(ID), FOREIGN KEY(Fertigungsstrasse_ID) REFERENCES Fertigungsstrasse(ID)); CREATE TABLE Mitarbeiter( ID INTEGER NOT NULL, Personalnummer INTEGER, Vorname VARCHAR(30), Nachname VARCHAR(30), Fertigungsstation_ID INTEGER, PRIMARY KEY(ID), FOREIGN KEY(Fertigungsstation_ID) REFERENCES Fertigungsstation(ID)); CREATE TABLE Maschine( ID INTEGER NOT NULL, Anlagennummer INTEGER, Bezeichnung VARCHAR(30), Fertigungsstation_ID INTEGER, PRIMARY KEY(ID), FOREIGN KEY(Fertigungsstation_ID) REFERENCES Fertigungsstation(ID)); CREATE TABLE Mitarbeiter_kann_bedienen_Maschine( Mitarbeiter_ID INTEGER NOT NULL, Maschine_ID INTEGER NOT NULL, PRIMARY KEY(Mitarbeiter_ID, Maschine_ID), FOREIGN KEY(Mitarbeiter_ID) REFERENCES Mitarbeiter(ID), FOREIGN KEY(Maschine_ID) REFERENCES Maschine(ID));
Palette Description
Here’s a color palette that represents a structured and professional theme suitable for a database or industrial setting, reflecting the organization and hierarchy of the provided schema.
<Industrial Structure>
1. Steel Blue -
#4682B4
- A strong, reliable blue that represents trust and stability, reflecting the industrial theme.
2. Slate Gray -
#708090
- A muted gray that conveys professionalism and balance, perfect for a serious database environment.
3. Olive Drab -
#6B8E23
- A natural green that symbolizes growth and efficiency, resonating with the production aspect.
4. Firebrick -
#B22222
- A deep red that highlights important elements, suggesting urgency and attention.
5. Light Gray -
#D3D3D3
- A soft gray that serves as a neutral background, allowing other colors to stand out without overwhelming.
This palette is designed to convey a sense of structure, reliability, and professionalism, making it suitable for environments related to manufacturing and production.
Would you like to adjust any colors or add more shades to this palette? Or do you have a specific use case in mind for this color palette?