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.
Endast CREATE/ALTER/DROP — ingen avslutande SELECT behövs.
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga inInget startschema
Den här uppgiften börjar utan tabeller — du skapar dem med CREATE TABLE.