Table of Contents
Homework One: Relational Database Theory
- Normalize data:
- Normalize data and provide an explanation for your normalization schema
- Create and insert using Oracle:
- Create the tables
- Insert the data
- Provide screen shots of commands used
- Show structure and data
- Use Describe command to show the structure of all tables created
- Use the Select command to show the data of all the tables created
- Provide screen shots of commands used
- Reports:
- Create three reports using JOINS
- The reports should reflect a manager/supervisor need related to the data
- For each report, provide a screenshot showing the SQL used to execute the report AND the data obtained from running the SQL code
Homework Two: Graph Data Stores
- Go to The Movie Database Website https://www.themoviedb.org/?language=en-US
- Choose a movie that you like – write the name of the movie (ex. Movie A)
- The actors
- Find three major actors in the movie
- Write their names (ex. Movie A has actors X, Y, Z)
- Additional movies
- Find three major movies in addition to the one you have chosen for each actor
- Write down the movies (ex. for actor X the three movies are 1,2,3, for actor Y the three movies are 4,5,6 and for actor Z the three movies are 7,8,9)
- Additional actors
- For each of the three movies, for each of the three actors, write three additional actors that are acting in that movie (ex. Movie 1 has actors C,D,E, Movie 2 has actors F,G,H, Movie 3 has actors I,J,K, Movie 4 has actors L,M,N etc.)
- Create nodes
- For all the actors
- For all the movies
- Create relationships
- Create relationships between the actors in your first chosen movie that they have acted in (ex actor X has acted in movie A, 1,2,3 and Actor Y has acted in movie A,4,5,6 etc.)
- Create relationships between the actors in your first chosen movie and their fellow actors (ex actor X has acted with actors C,D,E,F,G,H,I,J,K and actor Y has acted with actors L,M,N etc)
- Query the data you have created
- What movies has each of the chosen actors played in (ex what movies has X played in etc)
- Which actors have played with your chosen actors (ex which actors have played alongside X, which actors have played alongside Y etc.)
Homework Three: Document Stores
- Create a MongoDB collection of the data
- Insert the data in the collection
- Show a screenshot of the create and the insert as well as the data
- Show the list in ascending order – provide screenshots
- Show the list in descending order – provide screenshots
- Update a document of your choosing – provide screenshots of the old data, new data and the command used
- Delete a document of your choosing – provide screenshots of the old data and the command as well as the message related to the execution of the command
- Insert a new document – provide screenshots of the command and the data
Download PDF of CST4724 Homework Assignments
Print this page