#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.

Uniquement CREATE/ALTER/DROP — aucun SELECT final nécessaire.

Le résultat de votre requête apparaîtra ici

Aucun schéma de départ

Cet exercice démarre sans aucune table — vous les créerez via CREATE TABLE.