Computer Science, asked by Anonymous, 11 months ago

Example of foriegn key and primary key

Answers

Answered by BhalchandraMishra
7

Answer:

Foreign key is customer number

Primary key is customer I'd.

Source - Google

Answered by dhruvkrishnavaid
1

Answer:

Primary Key Example: Refer the figure –

STUD_NO, as well as STUD_PHONE both, are candidate keys for relation STUDENT but STUD_NO can be chosen as the primary key (only one out of many candidate keys).

Foreign Key Example: Refer the figure –

STUD_NO in STUDENT_COURSE is a foreign key to STUD_NO in STUDENT relation.

Recommendation:

Please mark me the Brainliest and Click on Thanks.

Attachments:
Similar questions