[SOLVED] CS307 Assignment2-Basic Queries

40.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment2-w9ndxk.zip (242.4 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

                                                               

Please submit those queries into sakai website as soon as possible, so that you can get  chance to receive feedback before deadline. After the deadline, we will check the assignment automatically by a script and then given your grade, at that time, any argument about your grade of this assignment will not be accepted.

Single table query

  1. List the non-US movies released in 1991 and with titles begin with “The” .
  2. How many actors have acted more than 30 movies.
  3. What is the percentage of American films in all films in the 1970s. (The result should be expressed percentage and approximated to 2 decimal places )

Multiple table query

  1. List the names of the known directors of 2016 films by ascending order (no need to display anything about the film). The film only from following regions: kr, hk, gb, ph. If the film is Korean(kr) or HONG KONG(hk), the name should be displayed as surname followed by first name, otherwise it must be first name followed by surname.

only known by one name have a null row returned for them. use surname and first name.

  1. List all films made after 2000 (including 2000) with the max number of actors borned after 2000 (including 2000).

you can use subquery factoring: with … as (…)

The result set would be multiple rows if more than one films have max number of actors

  1. List the number of different actors who have been played in the same movie with Yifei Liu (Yife herself is not included).

 

  • Assignment2-w9ndxk.zip