One Active Subscription
Create the user_subscription table for user subscriptions. It needs id as an int primary key, required user_id as int, and required status as text; the database must prevent two rows with status = 'active' for the same user_id.
Alleen CREATE/ALTER/DROP — geen afsluitende SELECT nodig.
Log in om je inzendingsgeschiedenis te zien
InloggenLog in om de AI-mentor te gebruiken
InloggenGeen startschema
Deze opdracht begint zonder tabellen — je maakt ze aan via CREATE TABLE.