Hi
I'm starting to write a very basic news publishing system with PHP and MySQL and have established that I need to store the following information:
Table name: Authors
username (pk)
password
authority
Table name: Articles
article_id (pk)
title
content
timestamp
expirydate
author (fk referencing username in authors table)
However, I'm aware that with this structure, there will be redundancy in the author column of the articles table since authors will be writing more than one article. Can anyone help me to eliminate this redundancy and achieve second normal form with this database?
Thanks!
Nicola