what is the need for defining a primary key for a table
Answers
Answered by
1
Its a field in any table which uniquely searches individual records in a database.
Primary keys should contain unique values.
Primary key column can't have NULL values.
Table have only one primary key which could consists of single/multiple fields.
Syntax of Primary Key is:
ALTER TABLE <Table Name>
ADD PRIMARY Key <Column Name>
gospel42:
thanks dear
Similar questions
Social Sciences,
7 months ago
Chemistry,
7 months ago
English,
7 months ago
Math,
1 year ago
English,
1 year ago
Political Science,
1 year ago