#1047

No Duplicate Team Memberships

Design the memberships table for team participation. It needs id as the primary key, user_id, and team_id; the same pair of user_id and team_id must appear at most once.

Nur CREATE/ALTER/DROP — kein abschließendes SELECT erforderlich.

Dein Abfrageergebnis erscheint hier

Kein Ausgangsschema

Diese Aufgabe beginnt ohne Tabellen — du erstellst sie mit CREATE TABLE.