Outline of Day 31 - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Outline of Day 31

Description:

Construct a general query that will tell us for any actor, the movies in which ... Has Cameron Diaz ever appeared in movie that Woody Allen directed? ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 5
Provided by: And82
Learn more at: https://www.msu.edu
Category:
Tags: cameron | day | diaz | outline

less

Transcript and Presenter's Notes

Title: Outline of Day 31


1
Outline of Day 31
  • We want to answer questions about movie roles in
    an efficient manner
  • Construct a general query that will tell us for
    any actor, the movies in which that actor has
    appeared
  • first make a query listing the movies if we know
    the actors ID
  • next, relate Stage Name to ActorID
  • Finish by answering more questions from the first
    day of clas

2
Two Table Queries
  • In MS Access Help System read
  • Working with Queries
  • Using Multiple Tables with Queries
  • Join multiple tables and queries in a query

3
Joining Movie and Roles Tables
  • Include only the records where the MovieIDs
    match
  • Query should return
  • MovieID, Title, and Year from tbl_movies
  • Role from tbl_roles
  • Run the query
  • Make a copy and modify the query so it returns
    ActorIDs if you give a Title and Year as
    parameters.

4
Three Table Queries
  • Which movies has Meryl Streep appeared in, and
    what role did she play in each?
  • Has Robert Altman ever directed Lyle Lovett in a
    movie? If so which ones?
  • Has Cameron Diaz ever appeared in movie that
    Woody Allen directed?
  • What's the total runtime of the movies Arnold
    Schwarzeneggar has appeared in?
Write a Comment
User Comments (0)
About PowerShow.com