ENع
الدرس 07 · Design

Keys and constraints

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

A table's definition can carry rules, and the DBMS checks every change against them. Meet the five everyday constraints (PRIMARY KEY, NOT NULL, UNIQUE, CHECK and FOREIGN KEY) by sending the same new book, Stardust, five times with one broken value each time. Watch PostgreSQL refuse each try with its own error, store the sixth, and then refuse to delete an author who still has books.

12 دقيقة8 خطوات5 أسئلةIntermediate
شكل 7 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.