Home › Foreign key
What is Foreign key? Definition, Formula & Example
A column in one table that points to the primary key of another and builds the relationship.
Example
orders.customer_id points to customers.id.
Want an expert to do it for you?
Gomaa Intelligence turns your data into clear reports and decisions. Tell us your problem and we will reply.
FAQ
What is Foreign key?
A column in one table that points to the primary key of another and builds the relationship.
Foreign key example
orders.customer_id points to customers.id.
Glossary
RFM analysis · CAGR · Churn rate · KPI · Conversion rate · Average order value (AOV) · Customer lifetime value (CLV) · Data cleaning · Profit margin · Database · Relational database · Primary key · SQL JOIN · GROUP BY · NULL value · SQL query