99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫ECS 116、代做SQL設計編程

時間:2024-04-30  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



ECS 116 Databases for Non-Majors / Data Management for Data Science
Programming Assignment 1
A. Prelude
1. The assignment is of 25 points.
2. Last date of submission is April 28, Sunday @ 11:59 pm.
3. Late submissions will be graded according to the late policy. Specifically, 10% of grade is deducted if you are
up to 24 hours late, 20% is deducted if you are 24 to 48 hours late, and no credit if turned in after 48 hours.
4. This assignment will be solo.
5. Create a new sql file for each step namely (Step 2, Step 3, Step 4) if you have to use sql commands through
DBeaver.
6. Your assignment will be graded based on correctness (passing all tests), ingenuity and originality.
7. All the required files (csv) can be found under Files in Canvas.
8. Plagiarism is strictly prohibited. You’re free to discuss high-level concepts amongst your peers. However,
cheating will result in no points on the assignment and reporting to OSSJA.
B. Step 1: Uploading africa fs after cleaning db.csv into PostgreSQL
1. In DBeaver create a new database faostat. Set that as the default database
2. Create a schema food sec (or “food sec v01”) in your database faostat. Set that as default schema.
3. Do set search path to food sec;
4. Load the file africa fs after cleaning db.csv into the schema food sec to make table africa fs ac.
5. Modify the data types of some of the columns of africa fs ac as follows:
 area code m49: varchar(3)
 element code: varchar(4)
 year code: varchar(8)
 value: numeric
 After making these changes, click on “Save” at bottom of pane.
6. Check whether the values for value column have been imported correctly.
 Do a selection query to get distinct values that are ≤ 2.
 Using Excel see what are the values ≤ 2.
 Do these match?
7. Do an SQL query to DELETE all tuples from africa fs ac (it will ask you to confirm that you want to do this
delete).
8. Use DBeaver to import the file africa fs after cleaning db.csv (don’t use the SQL “COPY” command
because it complains about a data type encoding issue).
 Do a sanity check that the number of tuples in your table is same as in csv file.
 Again check on the values in column value.
1
C. Step 2: Build Table gdp stunting overweight anemia
1. Similar to the construction of gdp stunting overweight shown in the 2024-04-09 lecture and the SQL script
faostat-part 02-transforming africa fs.sql, use DBeaver and SQL commands to build a table
gdp stunting overweight anemia which has, for each country-year pair the following associated values for:
 GDP per capita Purchasing Power Parity (22013): use column name gdp p ppp.
 Percentage of children over 5 years of age who are stunted (21025): . childhood stunting
 Percentage of children over 5 years of age who are overweight (21043): childhood overweight.
 Prevalence of anemia among women of reproductive age: anemia
2. Add this table into your schema food sec.
Figure 1: Almost correct example of the table gdp stunting overweight anemia. Your table should have 3 characters
for area code m49 column, and may have some decimal values for the last 4 columns.
D. Step 3: Build table energy undernourished
1. Note that many records in africa fs ac have year and year code values based on 3-year intervals rather than
single years. We will use some of this data to gain more insight about countries. In particular, we will interpret
a 3-year interval as applying to the year in the middle, e.g., we will interpret 2000-2002 as applying to the year
2001.
2. First, build a table energy undernourished which has, for each country-year code pair the associated values
for:
 Average dietary energy supply adequacy (21010): use column name dietary energy.
 Prevalence of undernourishment (210041): use column name undernourished.
 Note: this table should have 1040 rows in it.
3. Now add a column derived year to the table energy undernourished, where for each tuple, the derived year
value is computed by using the year in the middle of the first and third years in the year code of the tuple.
4. The column you added probably has data type integer. Convert this to varchar(4).
2
Figure 2: Almost correct example of the table energy undernourished. As with Figure 1, the area code m49 column
should have 3 characters, and the values for last 3 columns may have decimal values.
E. Step 4: Joining the gdp stunting overweight anemia and
energy undernourished tables to create new
table gdp energy with fs indicators
1. Create a selection query that combines the table gdp stunting overweight anemia and energy undernourished
to form a new table gdp energy with fs indicators
 The columns should include area code m49, area, year code, gdp pc ppp, dietary energy, childhood stunting,
childhood overweight, anemia and undernourished.
 Tuples in this table should be formed by combining tuples from gdp stunting overweight anemia and
energy undernourished where year code from the first table equals derived year of the second table.
 Note: your table should have 895 tuples in it.
2. Export the table gdp energy with fs indicators as a csv file gdp energy with fs indicators.csv.
3. Sort this csv file by area (country name) and then year code.
4. CONGRATULATIONS: you have created a table that we can use later to determine whether there are sta?tistical correlations between gdp per capita and/or stunting, childhood overweight, anemia in women and/or
undernourishment.
Figure 3: Example of the table gdp energy with fs indicators
5. Create a new table gdp energy fs aggs.
 Which has columns as:
– area code m49
– area
– avg gdp pc ppp
– avg dietary energy
3
– avg childhood stunting
– avg childhood overweight
– avg anemia
– avg undernourished
 The “avg” columns should hold the averages of the corresponding items for each country, over all of the
years of available data.
 Use the round operator on the “avg” value, so that they have type numeric and are rounded to 2 decimal
points. Use the following kind of expression: round(< expression for average >::numeric, 2).
6. Export the table gdp energy fs aggs as a csv file gdp energy fs aggs.csv.
7. Sort the csv file by area (i.e., country name).
Figure 4: Almost correct example of the table gdp energy fs aggs. You will obtain slightly different values. This
table was computed with rounded values for various columns, rather than with values having decimals.
F. Submission
1. Please make a single zip file that includes
 gdp energy with fs indicators.csv
 gdp energy fs aggs.csv
 The DBeaver sql scripts that you used to create these 2 csv files, specifically, Step 2.sql, Step 3.sql,
Step 4.sql).
 Name the zip file as FirstName LastName LastFourDigitsOfStudentID ECS116 A1.
2. Upload it on Canvas for Assignment 1 (This is a solo assignment so don’t add your peers to your submission).

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp














 

掃一掃在手機打開當前頁
  • 上一篇:CS 6347代做、MATLAB程序設計代寫
  • 下一篇:菲律賓達沃景點(達沃著名景點介紹)
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                韩国成人精品a∨在线观看| 91精品国产乱| 欧美一级日韩一级| 亚洲影院免费观看| 亚洲综合图片区| 欧美一卡二卡三卡四卡| 高清日韩电视剧大全免费| 专区另类欧美日韩| 制服丝袜成人动漫| 国产精品一卡二| 午夜精品免费在线观看| 欧美激情一区在线| 精品久久国产老人久久综合| 在线视频亚洲一区| 久久国产人妖系列| 精品美女在线观看| 国产精品 欧美精品| 日本一区二区三区电影| 97久久超碰国产精品| 亚洲丝袜制服诱惑| 欧美色爱综合网| 欧美a级理论片| 国产亚洲欧美中文| 91视频www| 视频一区二区三区中文字幕| 欧美一区二区精品久久911| 久久精品国产99久久6| 久久久精品日韩欧美| 99久久精品国产麻豆演员表| 一卡二卡三卡日韩欧美| 在线播放亚洲一区| 国产91综合网| 亚洲亚洲精品在线观看| 精品乱人伦一区二区三区| 99精品视频在线观看| 首页国产欧美日韩丝袜| 国产色综合一区| 欧美视频你懂的| 国产精品一区一区| 亚洲欧美另类图片小说| 欧美一区二区三区日韩| www.激情成人| 久久黄色级2电影| 亚洲视频资源在线| 精品国产成人系列| 91福利视频网站| 国产又粗又猛又爽又黄91精品| 亚洲视频在线一区观看| 精品福利在线导航| 欧美图区在线视频| 久草在线在线精品观看| 夜夜爽夜夜爽精品视频| 久久亚洲一区二区三区四区| 欧美在线观看一区| 亚洲成a人v欧美综合天堂| 国产成人激情av| 日韩一区二区三区免费看 | 久久综合九色综合欧美亚洲| 久久综合色一综合色88| 国产精品美女久久久久av爽李琼| 一区二区久久久| 国产激情一区二区三区四区| 1区2区3区精品视频| 成人一道本在线| 美女网站一区二区| 亚洲一区二区三区四区五区黄 | 国产成人av一区二区三区在线| 亚洲国产欧美在线| 亚洲三级在线观看| 亚洲国产经典视频| 精品国产乱码久久久久久浪潮| 欧美日韩国产小视频在线观看| 成人av中文字幕| 国产又粗又猛又爽又黄91精品| 天天综合色天天| 亚洲一区二区三区视频在线播放| 国产精品视频线看| 久久久久9999亚洲精品| 日韩视频一区二区在线观看| 欧美亚洲动漫制服丝袜| 91丨九色丨蝌蚪丨老版| 懂色av一区二区在线播放| 久久99热狠狠色一区二区| 午夜不卡在线视频| 中文字幕免费不卡在线| 欧美大片国产精品| 宅男在线国产精品| 日韩免费观看高清完整版| 欧美图片一区二区三区| 91亚洲精华国产精华精华液| 国产福利精品导航| 豆国产96在线|亚洲| 成人综合在线观看| 成人免费看的视频| 99久久精品99国产精品| 91一区二区在线| 欧美专区日韩专区| 欧美亚洲另类激情小说| 欧美日韩精品系列| 日韩精品一区二区三区视频在线观看| 欧美一区二区在线播放| 日韩女优av电影在线观看| 久久综合九色综合97婷婷女人| 欧美va日韩va| 亚洲精品一区二区三区精华液| 国产激情视频一区二区三区欧美| 夜夜夜精品看看| 欧美日韩国产高清一区二区| 日本三级韩国三级欧美三级| 欧美一区二区不卡视频| 丁香一区二区三区| 偷偷要91色婷婷| 国产精品美女久久久久久久久| 精品sm在线观看| 免费成人结看片| 一区二区久久久| 日韩精品高清不卡| 国内精品伊人久久久久av一坑| 国产在线一区观看| 97久久精品人人做人人爽| av日韩在线网站| 日本韩国欧美一区二区三区| 在线播放91灌醉迷j高跟美女| 精品欧美乱码久久久久久1区2区| 精品国产3级a| 亚洲欧美色图小说| 日本aⅴ免费视频一区二区三区 | 日韩电影在线看| 国产美女av一区二区三区| 成+人+亚洲+综合天堂| 欧美日韩一区不卡| 久久综合九色综合97婷婷女人| 国产精品三级视频| 亚洲不卡一区二区三区| 国内精品国产成人国产三级粉色| 成人午夜电影久久影院| 欧美日韩高清在线播放| 久久一区二区三区四区| 亚洲精品视频在线| 久久国产精品区| 91麻豆福利精品推荐| 日韩一二在线观看| 亚洲黄色片在线观看| 国产一区二区视频在线播放| 欧美色综合网站| 国产日韩精品一区二区三区| 亚洲欧美日韩国产成人精品影院 | 国产精品一区二区久久不卡| 91蜜桃视频在线| 欧美一区日本一区韩国一区| 一区免费观看视频| 蜜臀久久99精品久久久画质超高清| 丰满放荡岳乱妇91ww| 91精品国产综合久久国产大片| 国产日韩欧美一区二区三区乱码| 亚洲欧美韩国综合色| 丝袜亚洲另类欧美| 精品伊人久久久久7777人| 91网站在线播放| 欧洲视频一区二区| 日韩精品一区二区三区swag| 日韩理论片在线| 日韩—二三区免费观看av| 成人18视频在线播放| 欧美日韩一区二区三区不卡| 日韩一区欧美一区| 91麻豆自制传媒国产之光| 欧美日韩电影在线| 国产日韩成人精品| 精品一区二区三区av| 欧美高清www午色夜在线视频| 亚洲欧美日韩国产手机在线| 国产白丝精品91爽爽久久| 欧美电视剧在线看免费| 日韩电影免费一区| 欧美视频在线一区二区三区| 亚洲欧洲综合另类在线| 99久久精品国产一区| 国产精品网站导航| 丁香婷婷综合激情五月色| 久久亚洲欧美国产精品乐播| 经典三级一区二区| 精品国产免费人成在线观看| 亚洲成精国产精品女| 在线观看一区日韩| 一区二区三区免费| 在线观看欧美精品| 亚洲国产你懂的| 欧美日韩高清影院| 天天操天天综合网| 91麻豆精品国产无毒不卡在线观看| 亚洲国产cao| 欧美一区二区视频网站| 另类小说视频一区二区| 日韩欧美国产一区在线观看| 卡一卡二国产精品| 国产日产亚洲精品系列| 99视频国产精品| 亚洲综合在线电影| 日韩三级视频中文字幕|