View Single Post
Old 07-26-2005, 07:23 PM   #1 (permalink)
clifford
Junior Member
 
Join Date: Jun 2005
Location: Finland
Posts: 26
Default MySQL - Indexes, Foreign Key, PK

Hi,

I am starting to read up on buiding my own MySQL database for my site. What is the difference between an index, primary key and a foreign key? In the book I am reading by Kevin Yank (Build Your Own Database Driven Website Using PHP & MySQL) he refers to one or the other. Are they the same?
clifford is offline   Reply With Quote
Sponsored Links