SQL1
SQL1
CJ Important Points :
Database: Co llection of logical units/ inter•related data such as 'table', 'index' etc.
Tnble : Co llection of Records & Fields.
✓ TJ,e name of the Foreign Key can be different from the Primary Key.
Example:
Table Class II
In the above table, columns admn. No. and Roll no. have unique value . for each row, ·so both are
candidates to become Primary key hence ~oth of these columns are candidate keys. Out of these 2 we
can assign one as Primary key and other will become alternate key