Computer Science, asked by balusupatikeerthana, 1 month ago

5. What is composite primary key explain with example?​

Answers

Answered by shubhimishra30jan
4

Explanation:

Composite key, or composite primary key, refers to cases where more than one column is used to specify the primary key of a table. ... PRIMARY KEY (COLUMN_1, COLUMN_2, …)); Some database-specific examples are shown below. In all cases the composite key created consists of COL1 and COL2.

mark me as a brainliest pls

Answered by Anonymous
6

Answer:

Hope this helps you

Explanation:

A primary key having two or more attributes is called composite key. It is a combination of two or more columns. Above, our composite keys are StudentID and StudentEnrollNo. The table has two attributes as primary key.

Similar questions