Definitionپێناسە
A column (or columns) in one table whose values must match the of another table, the . It links the two tables; unlike a primary key it can be NULL and is usually not unique.
بریتییە لە (یان چەند ستوونێک) لە خشتەیەکدا کە نرخەکانی دەبێت لەگەڵ خشتەیەکی تردا () یەک بگرنەوە. دوو خشتەکە بەیەکەوە دەبەستێت؛ بە پێچەوانەی دەکرێت NULL بێت و زۆرجار یەکتا نییە.
Exampleنموونە
t_dept in teacher is a foreign key, so it can only hold a dept_no that exists in department.
t_dept لە خشتەی teacherدا ، بۆیە تەنها ئەو dept_noـانە وەردەگرێت کە لە خشتەی departmentدا هەن.
CREATE TABLE teacher (
t_no INT PRIMARY KEY,
t_name VARCHAR(50),
t_dept INT,
FOREIGN KEY (t_dept) REFERENCES department(dept_no)
);Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
کلیلی دەرەکی، فۆرێن کی، کلیلە بیانییەکە، کلیلە بیانییەکان، کلیلێکی بیانی، کلیلی بیانیی، کلیلە بیانییەکانی، کلیلێکی بیانیی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
No Kurdish source names it. بیانی (foreign) translates the English word directly, like Arabic المفتاح الأجنبي; دەرەکی (external, as in Persian کلید خارجی) is kept as an alternative so that دەرەکی stays free for the external level and the outer join. Checked at the merge (2026-10-18): no registry entry or alias covered foreign key before (referencing-table's alias "foreign table" names the other table, not the key).
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Kurdish: primary and foreign keys, the Relationships window, Enforce Referential Integrity, and the refusal when a customer with orders is deleted.
بە کوردی: و ، Relationships، Enforce Referential Integrity و ڕەتکردنەوەی سڕینەوەی کڕیارێک کە فەرمایشتی هەیە.
Learn more inزیاتر فێربە لە
- Database Keysکلیلەکانی بنکەدراوە
- Entity-Relationship Modellingمۆدێلی قەوارە و پەیوەندی
- From EER Diagrams to Tablesلە هێڵکاریی EERـەوە بۆ خشتەکان
- Relationships and Referential Integrityپەیوەندییەکان و دروستیی ئاماژەپێدان
- The Database Development Life Cycleسووڕی ژیانی گەشەپێدانی بنکەدراوە
- Normalizationنۆرماڵکردن
- Course Reviewپێداچوونەوەی کۆرس
- Beyond the Basic E-R Model: Recursive, Ternary and Specialised Entitiesزیاتر لە مۆدێلی قەوارە و پەیوەندیی بنەڕەتی: پەیوەندییەکانی خۆیی و سێیانی و قەوارە تایبەتکراوەکان
- Databases and SQL basicsبنکەدراوەکان و بنەماکانی SQL
- Database Security: Threats and Countermeasuresئاسایشی بنکەدراوە: هەڕەشەکان و ڕێوشوێنەکانی بەرگری
- Better SELECT Queries: Conditions, Ranges, Lists, Patterns and NULLباشترکردنی فەرمانی SELECT: مەرجەکان، ماوەکان، لیست، شێوازی دەق و NULL
- Database Management Systemsسیستەمەکانی بەڕێوەبردنی بنکەدراوە
- What Is Microsoft Access?Microsoft Access چییە؟
- Tables, Fields and Datasheetsخشتەکان، ستوونەکان و پەڕەکانی دراوە
- Database Systems, Abstraction and Data Modelsسیستەمەکانی بنکەدراوە، ڕووتکردنەوەی دراوە و مۆدێلەکانی دراوە
- Transactions and ACIDمامەڵەکان و ACID