The difference between primary and foreign key in table

Tutorials Shared by the Internet Community

Advertisements


The difference between primary and foreign key in table

A table in the database is a collection of rows and the primary key is used to uniquely identify each row. Its usually id e.g. if you have an emp_id y

Statistics

  • Total Hits - 39194

  • Total Votes - 6 votes

  • Vote Up - 4 votes

  • Vote Down - 2 votes

  • Domain - javarevisited.blogspot.com

  • Category - Basic SQL/Getting Started

  • Submitted By - Javin Paul

  • Submitted on - 2015-12-06 00:25:19

Description

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://javarevisited.blogspot.com/2012/12/foreign-key-vs-primary-key-table-sql-database-di...

Broken  |   Save  |   Liked  |   Down

Advertisements