The focus is to write sql queries that combine data

Assignment Help Database Management System
Reference no: EM13914444

This is the final installment of the project! The focus is to write SQL queries that combine data from both Mondial and GapMinder (GM). For most queries you will need both Mondial and GM data, so you may need to use your bridge table(s).

Deliverable D8 (Warm-Up: Mondial Queries). For each (Mondial) country return the minimal, maximal, and average latitude of all cities in that country. The result should be ordered by continent

(first) and country (second).

Deliverable D9 (Mondial + GM) Same as D8 but also include the Life Expectancy, Income, and Electricity for each country in the year 2000.

Deliverable D10 (Mondial + GM) For each continent, compute the average income (GDP/capita)

in the year 2000 ...

(a) ... by simply averaging over the country income data in the year 2000 (unweighted average), and (b) ... by taking into account the population of the country (weighted average).

Deliverable D11 (Extra Credit: Skyline Queries)

In the following, your task is to compute the names of countries which are in the skyline of a certain query. Here, a skyline is defined by giving two attributes (e.g. Life Expectancy and Health Spending) and indicating for each whether the min or max is used. Details and examples of expressing skyline

queries in SQL will be given in class.

(a) Compute the country skyline for (Life Expectancy MAX, Health Spending MAX) for the year 2000.

(b) Same as (a) but for (Life Expectancy MAX, Health Spending MIN).

Deliverable D12 (Extra Credit: MyGapMinder) In a visualization tool of your choosing, display the XY-plot for all years and all (or some) countries ...

(a) ... where X is the Year and Y is the Life Expectancy, and

(b) ... where X is the Health Spending and Y is the Life Expectancy

For simplicity, you can "loosely-couple" Postgres with your visualization tool, by exporting the answers of your SQL queries to a file.

Deliverable D13 (Extra Credit: EarthMinder) Put the data of the three result attributes from D9 onto a world map. For example, you can create a KML file and then view it using Google Earth.

Reference no: EM13914444

Questions Cloud

Activity area assist in the generation of profits : What are the key activity areas for securities firms? How does each activity area assist in the generation of profits and what are the major risks for each area?
When preparing capital budgeting analysis for new project : When preparing capital budgeting analysis for a new project, Chris Johnson, a chief financial officer at BT Industries, faced a dilemma. The project involved a production of new type of shipping containers, What is the Present Value of this project?
Pay off this debt assuming : Today, you borrowed $3,100 on your credit card to purchase some furniture. The interest rate is 12 percent, compounded monthly. How long will it take you to pay off this debt assuming that you do not charge anything else and make regular monthly paym..
What is the total number of stickers : The producity of a worker at a scrapbook sticker company increased as an Arithmetic Sequence (Progression) over a period of 7 days. That is, on day n she produced an = a1 + (n - 1)d stickers. If a7 = 160 and d = 10 what is the total number of stick..
The focus is to write sql queries that combine data : This is the final installment of the project! The focus is to write SQL queries that combine data from both Mondial and GapMinder (GM). For most queries you will need both Mondial and GM data, so you may need to use your bridge table(s).
Estimate the sales price of product : You are evaluating a product for your company. You estimate the sales price of product to be $230 per unit and sales volume to be 11,300 units in year 1; 26,300 units in year 2; and 6,300 units in year 3. The project has a 3 year life. The tax rate i..
Regarding the use of probability distributions : Which one of the following statements is correct regarding the use of probability distributions?
Discuss the implication of correlation coefficient : Please draw the efficient frontiers and discuss the relevant implication under the following assumptions: (a) Risk free assets are possible and short sale is not allowed; (b) Risk free assets are impossible and short sale is not allowed. Please discu..
Account earns compounded monthly : How much will you have in an account after 25 years if you put $1300 per month in the account earns 8% compounded monthly?

Reviews

Write a Review

Database Management System Questions & Answers

  Concept of non-deterministic finalization

From constructor to destructor (taking into consideration Dispose() and the concept of non-deterministic finalization), what the are events fired as part of the ASP.NET System.Web.UI.Page lifecycle. Why are they important? What interesting things ..

  Location information for dui checkpoints

let's consider location information for DUI checkpoints. If law enforcement agencies publish this information, is it okay to have law an app for drivers

  Electronic spreadsheets in data modeling

Explain in detail with supporting illustrations the six stages of the problem solving process and explain when the choice for using electronic spreadsheets is the preferred tool of choice.

  Why it is important to use white box testing technique

Using IEEE and ACM Database, research on why it is important to use WHITE BOX AND BLACK BOX testing technique to evaluate a software module.

  Develop an e-r diagram and class diagram

Develop an E-R diagram, class diagram, or a data flow diagram that effectively represents the data that are required for your application or system.

  Explain the problems associated with data redundancy

Assignment 5: Logical Design, Part II, Explain the problems associated with data redundancy as it pertains to effectively using information for reporting and analysis.

  Create a simple shopping cart using cgi scripts

Your project is to create a simple shopping cart using CGI scripts. You'll have ample time to do your research and create scripts. Place all scripts in the zip file along with a text file containing the link to your website where the CGI resides.

  Design a high-level conceptual view of a data warehouse

Design a high-level conceptual view of a data warehouse (DW) for Huffman Trucking using Microsoft Visio that shows the following: Integration layers

  Explain relational database and metadata

Which is not a factor to consider in software evaluation and explain relational database and Metadata - Build an entity relationship model

  Create an initial erd for the new system

Create an initial ERD for the new system that contains at least eight entities. Analyze each relationship to determine if it is 1:1, 1:M, or M:N

  How can i read serialized objects from a database

How can I read and write serialized objects to and from a database? Can a Vector or a Hashtable be serialized and deserialized?

  Design a data model

Design a data model

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