Queries against the world database tables

Assignment Help Basic Computer Science
Reference no: EM131156776

Your task for this final project will be to write queries against the World database tables. There are three tables used to store data about Countries, Cities and CountryLanguages. These tables along with the data exists in all the four group databases (IST210JamesJGrp1, IST210JamesJGrp2, IST210JamesJGrp3, IST210JamesJGrp4). You can work as a team or individually but each student must submit their own work. While working as a team you need to highlight what part of the queries you worked on. The ER diagram is shown at the end of this document along with the Database diagram and the sample output for each question. Answer the following queries listed below:

  1. List the Continent, Country Name, District, City Name and City Population of for all cities with a population of over 3 million people. Sort the results by Continent, Country Name, District and City Name. (10 points)
  2. List Country Name, Language Percentage and Country Population where language spoken is English and English is the official language. Sort the result by Percentage desc, and countryname asc. (10 points)
  3. List the Life Expectancy, Population, CountryName, HeadOfState, Official Language where population > 100000000 and English is the official language. Sort the result by LifeExpectancy and population. (10 points)
  4. List CountryName and their Capital City where country's surface area > 2000000. (10 points)
  5. List the headofstate for the country = 'USA'. (10 points)
  6. List all the CountryCodes where headofstate = 'George W. Bush'. (10 points)
  7. List the name of the country and count of cities. (10 points)
  8. List the name of the country and count of cities having count of cities > 10. (10 points)
  9. List the name of the country and sum of population across all cities in the United States. (10 points)
  10. List the name of the country and sum of total percentage of non-english speaking population (10 points)

Submission: Each student must submit their own Final Project document as FinalAssignment.sql file. Just write your queries against each question in this file. When working as a team explain in what specific queries you worked on? DO NOT INCLUDE OUTPUT/RESULT. ONLY THE QUERIES ARE SUFFICIENT

Reference no: EM131156776

Questions Cloud

About high performance and balanced scorecard : What have you learned about high performance and balanced scorecard/competing forces? Are measures missing? What measures are superior? What is your root cause analysis of what makes an organization high performing? What is your new idea for making t..
Analysis patterns and design patterns : What are the differences between analysis patterns and design patterns?
What is the function of the central bank : What is Central Bank? What is the Function of the Central Bank? Purpose of Central Bank? What is State Bank & its Role? Function of State Bank (SB)? Activities and responsibilities of Central Bank?
Describe the steps in an implementation plan : Describe the steps in an implementation plan. Identify possible project issues and determine ways to evaluate project success. Should a separate operationalization plan be developed for moving into a new space? Why? What are three ways to engage the ..
Queries against the world database tables : Your task for this final project will be to write queries against the World database tables. There are three tables used to store data about Countries, Cities and CountryLanguages. These tables along with the data exists in all the four group data..
Describe and calculate the federal income tax : describe and calculate the federal income tax consequences to your client from the proposed estate freeze.- describe all the income tax consequences to both Alex and to Newco and show your calculations.
What is structured query language : What is structured Query Language? Write the SQL command for deleting tuple(row) from the database?
How hipaa security rule protect patient information : As a future health care professional, is it important that you fully understand the HIPAA Privacy Rule that health care professionals must follow. As part of your class, you will be given the chance to earn a HIPAA Certificate of Completion. You w..
Identify the author of the message : For the analysis, you must: Identify the author of the message. Explain the creative techniques used to capture the attention of the audience. Identify and explain the values and points of view that are contained within the message and those that ar..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd