SQL Assignment2 Opt3
SQL Assignment2 Opt3
Training Assignments
Version 3.1
Hanoi, 11/2016
Training Assignments SQL BASICS Issue/Revision: x/y
RECORD OF CHANGES
Contents
For the following assignments:...........................................................................................................4
Day 2. Lesson 2: SQL Basic..............................................................................................................4
Assignment 2_Opt3: Movie Management......................................................................................4
CODE: BSQL_Assignment2_Opt3
TYPE: n/a
LOC: n/a
DURATION: 180 MINUTES
d. Write a query to retrieve all actor names and average salaries from ACTOR and sort the results by
average salary.
e. Using an actor name from your table, write a query to retrieve the names of all the movies that actor
has acted in.
f. Write a query to retrieve the names of all the action movies that amount of actor be greater than 3
Estimated Time to complete:180 mins.
-- THE END --