国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代寫ECS 116、代做SQL設(shè)計編程

時間:2024-04-30  來源:合肥網(wǎng)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














 

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

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運營技巧,多多開團(tuán)助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服務(wù)平臺
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網(wǎng)頁版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    免费精品视频一区| 色一情一乱一伦一区二区三区丨| 国产精品日韩一区二区三区| 日韩中文字幕在线播放| 久久色在线播放| 午夜精品美女自拍福到在线| 国产主播一区二区三区四区| 国产成人亚洲综合青青| 中文字幕日本最新乱码视频| 欧美亚洲视频一区二区| 99九九视频| 国产精品久久国产精品99gif| 日本香蕉视频在线观看| 国产精品一区二区三区精品| 国产精品欧美久久| 日韩欧美猛交xxxxx无码| 国内成人精品一区| 97精品久久久| 国产精品福利在线| 视频一区二区三区免费观看| 国产三级精品网站| 国产精品人人做人人爽| 日韩欧美亚洲精品| 久久久无码中文字幕久...| 欧美激情伊人电影| 黄色一级一级片| www.欧美三级电影.com| 日本国产精品视频| 久久久精品有限公司| 亚洲影视九九影院在线观看| 国产日韩欧美日韩大片| 久久精品中文字幕免费mv| 国产精品久久久一区| 日韩av电影中文字幕| 国内精品400部情侣激情| 国产精品免费久久久久影院| 欧美日韩一区在线视频| 日韩一区二区av| 青草网在线观看| 日韩三级成人av网| 青草热久免费精品视频| 久久草视频在线看| 欧美一区二区高清在线观看| 成人乱人伦精品视频在线观看| 国产精品无码专区在线观看| 亚洲一区二区三区乱码| 97精品久久久| 午夜欧美不卡精品aaaaa| 91精品国产99久久久久久红楼| 精品久久蜜桃| 国产免费一区二区三区香蕉精 | 久久久无码中文字幕久...| 国产成人无码一二三区视频| 日韩精品一区二区三区四| 久久久久久亚洲精品不卡| 日av在线播放中文不卡| 日韩亚洲欧美中文高清在线| 人妻精品无码一区二区三区| 日韩一区视频在线| 欧美激情国产精品日韩| 精品国产一区久久久| 欧美一级大片在线观看| 国产精品久久久久久久乖乖| 国产资源在线免费观看| 欧美日韩国产123| 国产日韩欧美影视| 国产精品美女主播| 国产乱人伦真实精品视频| 亚洲欧洲精品一区| 久久99精品久久久久久水蜜桃| 日韩精品成人一区二区在线观看| 日韩在线观看精品| 国产亚洲天堂网| 亚洲综合在线做性| 色偷偷9999www| 欧美不卡福利| 欧美激情a在线| 久久久久成人精品免费播放动漫| 日本一区二区三区四区在线观看| 国产a级全部精品| 欧美激情 国产精品| 欧美激情亚洲综合一区| 国产精品99久久久久久久久久久久| 日韩视频 中文字幕| 国产精品久久久久久久久久小说 | 日本最新一区二区三区视频观看| 久久资源av| 欧美综合在线播放| 精品乱色一区二区中文字幕| 国产精成人品localhost| 欧美亚洲另类在线一区二区三区| 欧美人与性动交| 国产高清精品在线观看| 欧美日韩一区二区三区在线视频| 欧美激情第三页| 久久国产乱子伦免费精品| 毛片一区二区三区四区| 亚洲在线欧美| 91成人国产在线观看| 黄色录像特级片| 亚洲 欧洲 日韩| 国产精品久久久久久久av大片| 91九色丨porny丨国产jk| 日韩免费av在线| 中文字幕一区二区三区有限公司 | 精品一区二区成人免费视频| 亚洲 国产 欧美一区| 国产精品久久久久av| 国产伦精品一区二区三区精品视频 | 欧美日本亚洲视频| 国产成人亚洲欧美| 红桃av在线播放| 亚洲乱码日产精品bd在线观看| 久久天天躁狠狠躁夜夜躁| 91免费精品国偷自产在线| 免费国产一区| 青青在线免费观看| 亚洲a区在线视频| 久久伊人精品视频| 啊v视频在线一区二区三区| 91九色国产在线| 国产乱码精品一区二区三区卡 | 国产成人激情小视频| 777国产偷窥盗摄精品视频| 隔壁老王国产在线精品| 国产免费一区二区三区香蕉精| 国产一区二区三区奇米久涩| 精品一区二区日本| 国产在线精品一区二区三区》| 国内一区在线| 国产视频999| 国产一区二区三区av在线| 国产一区二区在线免费| 精品一区二区三区自拍图片区| 免费精品视频一区二区三区| 免费拍拍拍网站| 国产日产欧美a一级在线| 国产欧美中文字幕| 国内精品视频在线| 国产一区二区丝袜| 国内精品久久久久久久果冻传媒 | 国产一级不卡视频| 高清无码视频直接看| 国产精品亚洲视频在线观看| 超碰免费在线公开| 久久综合九色综合网站| 日韩中文字幕网| 国产精品初高中精品久久| 久久久久久91| 日本一区二区免费高清视频| 欧美日韩一区二区三| 国产专区在线视频| 国产伦精品一区二区三区四区视频| 波多野结衣综合网| 九色综合日本| 精品久久久久久中文字幕动漫| 亚洲综合精品伊人久久| 日本不卡高字幕在线2019| 欧美在线观看网址综合| 欧洲熟妇精品视频| 欧美一区激情视频在线观看| 欧美日韩国产精品一区二区| 欧美不卡1区2区3区| 国产综合视频在线观看| 国产一区在线免费观看| 国产精品夜间视频香蕉| 97久久国产精品| 久久综合色一本| 久久99精品久久久水蜜桃| 久久精品国产综合精品| 精品国产一区二区三区久久狼5月| 国产精品视频一区二区高潮 | 久久久视频精品| 深夜福利国产精品| 国产精品男人爽免费视频1| 精品国产三级a∨在线| 日韩在线第三页| 免费99视频| 国产福利一区二区三区在线观看| 国产精品国产福利国产秒拍| 天天在线免费视频| 精品视频在线观看一区| 久久天天狠狠| 精品国产一区二区三区四区精华 | 毛片精品免费在线观看| 日日碰狠狠丁香久燥| 国产一区二区丝袜| 日韩在线视频导航| 中文字幕一区二区三区精彩视频| 欧美亚洲成人免费| 91精品视频在线免费观看| 国产精品高清免费在线观看| 日本高清不卡三区| 高清国产一区| 国产精品久久久久久久app| 视频一区在线免费观看| 国产最新精品视频| 国产成人精品999| 一本久久a久久精品vr综合 | 亚洲欧美日韩精品在线 |