Skip to content

Instantly share code, notes, and snippets.

@rwarbelow
Last active December 18, 2018 16:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save rwarbelow/80417edbcc42578cb56a to your computer and use it in GitHub Desktop.
Save rwarbelow/80417edbcc42578cb56a to your computer and use it in GitHub Desktop.

Use a Schema Designer to create schemas for the following problems:

  1. City Library System
  • a user can check out books
  • books have one or more authors
  • books belong to a library branch
  • a book can be reserved by a user
  1. Movie Showtimes
  • a movie has many showtimes at various theaters
  • a theater has many showtimes for various movies
  • a user can purchase a ticket for a specific showtime
  1. Flash Cards
  • a deck has many cards
  • a user can play a round
  • a user has a response to each card
  • a user can see his/her score for each round played
  1. Social Media App
  1. Survey App
  • a user can create one or more surveys
  • a survey has many questions
  • each question has many choices
  • a user can take a survey
  • a user can choose a response to a question
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment