I began with a table listing the top 100 songs by date for the years 1958 through 1980. For each date, there are 100 records. Obviously many will be duplicates as a song changes position from week to week. Also, the artists will be duplicated (think Elvis) numerous times. There are ~ 116,000 records in the table.
This table had the following fields
uniq,
date,
artist,
title,
position
To eliminate duplicates (normalization as I understand it) I have modified the table so that it now looks like this
uniq,
date,
artistcode,
titlecode,
position
And have two new tables artists and titles. Artists looks like this
artist,
artistcode
And titles looks like this
title,
titlecode
To get started in the right direction, I simply want to reassemble (join) these tables so that I have a view that looks like the original table, ie
uniq,
date,
artist,
title,
position
and has those 116000 records. After reading a couple of books and working with several tutorials, I have come to the conclusion that I have a misconception of what normalization should do, or I am simply headed in the wrong direction.
The SQL syntax to create the view would be much appreciated.