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

Apenas CREATE/ALTER/DROP — não é preciso um SELECT no final.

Entre para enviar

O resultado da sua consulta aparecerá aqui

Sem esquema inicial

Esta tarefa não inclui tabelas iniciais: você vai criá-las com CREATE TABLE.