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.
Tylko CREATE/ALTER/DROP — bez końcowego SELECT.
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj sięBrak schematu początkowego
To zadanie zaczyna się bez tabel — utworzysz je za pomocą CREATE TABLE.