1.

Define the following: Table , Primary Key, Foreign Key

Answer»

Table: A table is a collection of related data held in a table format within a database. It consists of columns, and rows. 

Primary Key A primary key is a unique value that identifies a row in a table. For example, Student Table contains columns such as Admno, Name, DOB , Address, Phone and Admno can be considered as Primary Key 

Foreign Key: a foreign key is a field or a column that is used to establish a link between two tables. In simple words you can say that, a foreign key in one table used to point primary key in another table.



Discussion

No Comment Found

Related InterviewSolutions