Steve the relationship and difference between primary key and foreign key
Answers
An example would be an Id column in a table. A PRIMARY KEY is a unique index where all key columns must be defined as NOT NULL, i.e, all values in the index must be set. Ideally, each table should have (and can have) one primary key only. A FOREIGN KEY is a referential constraint between two tables.
RELATIONSHIP
A primary key-foreign key relationship defines a one-to-many relationship between two tables in a relational database. A foreign key is a column or a set of columns in one table that references the primary key columns in another table.
DIFFERENCE
A primary key is a column or a set of columns that uniquely identify a row in a table. ... Usually a foreign key is in a table that is different from the table whose primary key it is required to match. A table can have multiple foreign keys. The primary key cannot accept null values.
hope it would be helpful
pls maark it as brainliest