I am creating a small music store db to store about 100 songs and artists. and i'm going to create some forms so data can be added through a frontend. The tables i'm using are -
_Customers (reg info)
_Artist (link with songs)
_Songs (link with artist, 100 atm.)
_Playlist (some playlists created),
_Transaction (displays what songs customers bought).
This is how it looks, although i'm not sure if my fields can be improved on - [imgnothumb]http://i.imgur.com/tXbWWAN.jpg[/imgnothumb]
Could i have help linking the relationships up so it all fits together?
i'm thinking possibly _Artist would be a foreign key so i can relate _Songs to it and _Playlist and _Transaction would be a composite key.
Thanks!
_Customers (reg info)
_Artist (link with songs)
_Songs (link with artist, 100 atm.)
_Playlist (some playlists created),
_Transaction (displays what songs customers bought).
This is how it looks, although i'm not sure if my fields can be improved on - [imgnothumb]http://i.imgur.com/tXbWWAN.jpg[/imgnothumb]
Could i have help linking the relationships up so it all fits together?
i'm thinking possibly _Artist would be a foreign key so i can relate _Songs to it and _Playlist and _Transaction would be a composite key.
Thanks!
Comment