Lab Two - SQL Start up part 2
Create and Relate Tables
Step 1
This lab we're learning how to create and relate tables so to start off straight off the bat I need to create a single table, editorial video the lecturer uses movie directors and movies as his criteria for this list or management system. I have opted to put my personal touch on it and have game makers and games from my list almost approved that I've done the work myself.
So I created my first list with titles of basic information at the game designer would have as seen in the image below. all the while keeping very sure that I have a prime key.(primary key)
Step 2
next was the list that would be displaying information for the games themselves, including their creator this is the shared ID that these two lists have.(what will be linking them together)
Once again ensure that game ID in this list is set to your prime key and you might as well but then the Maker_ID as a foreign tag.
Step 3
You then want to index one of the ID's so that when you come to the relationship tag you have something to put in.
Step 4
Then you can start adding in information as you please which can be found in the browse tab as you can see below using methods I learned in this lab I was capable of putting four different games from two different creators that can be categorized by these lists and these rules.
Comments
Post a Comment