I have two tables, once is called departments, and the other is a seciton, when creating these tables i wanted to know what should i be looking for since each table will have it's onw primary key and an forign key...here's my structure so far:
CREATE TABLE `dept` (
`dept_id` int(11) NOT NULL auto_increment,
`dept_name` varchar(255) NOT NULL default '',
`section_id` varchar(255) NOT NULL default '',
PRIMARY KEY (`dept_id`)
) TYPE=MyISAM
Bookmarks