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

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

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

時間: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














 

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

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美精品久久96人妻无码| av观看免费在线| 国产伦精品一区二区三毛| 色老头一区二区三区在线观看| 亚洲一区二区三区视频| 国产伦精品一区二区三区视频黑人 | 日韩在线免费av| 亚洲精品一区二区三| 国产欧美自拍视频| 国产精品激情av在线播放| 日韩精品第一页| 久久本道综合色狠狠五月| 亚洲 自拍 另类小说综合图区| 成人免费91在线看| 中文字幕成人一区| 国产美女久久久| 精品乱子伦一区二区三区| 免费看日b视频| 国产精品福利小视频| 国精产品99永久一区一区| 国产精品久久久久久久久借妻| 日韩久久久久久久| 色偷偷噜噜噜亚洲男人的天堂| 日韩精品福利视频| 久久精品99久久久久久久久| 欧美午夜视频在线| 国产精品视频自拍| 国内精品久久久久久久久| 国产精品美女999| 蜜桃久久影院| 欧美xxxx18国产| 国产精品一区二区电影| 亚洲伊人久久大香线蕉av| 91国产精品电影| 日本高清视频一区| 国产精品私拍pans大尺度在线 | 国产日韩欧美综合| 久久99国产精品久久久久久久久| 国产日本在线播放| 亚洲视频小说| 日韩一区二区久久久| 激情婷婷综合网| 国产av第一区| 91久久国产自产拍夜夜嗨| 日本欧美在线视频| 国产精品日韩在线| 成人av在线不卡| 色噜噜狠狠一区二区三区| 国产成人三级视频| 欧美日韩亚洲在线| 另类美女黄大片| 91久热免费在线视频| 日本中文不卡| 国产精品日韩欧美综合| 国产美女久久久| 午夜精品久久久久久久白皮肤| 久久超碰亚洲| 国产在线观看福利| 岛国视频一区免费观看| www.日韩免费| 国产毛片视频网站| 日本不卡在线观看视频| 国产精品精品软件视频| 91精品国产高清久久久久久91| 日韩久久久久久久| 国产精品久久久久久久久久久久冷 | 九九热r在线视频精品| 成人免费a级片| 日韩人妻一区二区三区蜜桃视频| 精品国产一区三区| 久久成人资源| 国产日韩欧美二区| 日本午夜在线亚洲.国产| 国产精品国产亚洲伊人久久| 91免费欧美精品| 青青草视频在线视频| 麻豆国产va免费精品高清在线| 8050国产精品久久久久久| 欧美视频免费看欧美视频| 在线丝袜欧美日韩制服| 日韩中文字幕网站| 91久久综合亚洲鲁鲁五月天| 男人亚洲天堂网| 色大师av一区二区三区| 不卡中文字幕av| 少妇精69xxtheporn| 99国产在线| 国产在线观看欧美| 日韩极品视频在线观看| 亚洲五码在线观看视频| 国产精品久久久| 久久久在线观看| 国产伦精品一区二区三区视频孕妇| 日韩亚洲欧美精品| 亚洲国产精品视频一区| 麻豆国产va免费精品高清在线| 久久精品五月婷婷| 成人精品久久一区二区三区| 欧美乱偷一区二区三区在线| 懂色一区二区三区av片| 欧美激情国产精品| 国产精品吊钟奶在线| 日韩视频永久免费观看| 久久综合给合久久狠狠色| 国产免费一区二区三区香蕉精| 欧美激情 国产精品| 亚洲 欧美 综合 另类 中字| 国产999在线| 久久亚洲私人国产精品va| 久久九九热免费视频| 久久久久久亚洲| 久久国产精品久久| 久久男人的天堂| 91国产在线免费观看| 99在线观看视频免费| 国产欧美日韩精品在线观看| 黄色免费高清视频| 欧美一区二区在线| 日韩欧美精品一区二区| 日本一区二区三区在线视频| 亚洲a中文字幕| 欧美激情第1页| 欧美激情在线一区| 精品国产一区二区三区四区vr| 国产精品久久久久9999小说| 国产精品免费看久久久香蕉| 国产精品啪啪啪视频| 国产精品视频一| 国产精品视频yy9099| 国产精品入口日韩视频大尺度| 久久精品成人一区二区三区| 久久韩国免费视频| 国产精品丝袜白浆摸在线| 久热精品视频在线| 国产精品久久久久免费a∨| 国产精品久久中文| 久久久99免费视频| 国产精品免费看一区二区三区 | 国产99视频精品免费视频36| 精品国产乱码久久久久久88av| 国产精品久久久精品| 欧美大成色www永久网站婷| 欧美人与性动交| 亚洲人成网站在线观看播放| 无码人妻h动漫| 日韩欧美精品免费| 日韩欧美视频网站| 欧美中文字幕在线观看视频| 国模私拍视频一区| 成人一区二区av| 国产精国产精品| 久久久久天天天天| 国产精品毛片va一区二区三区| 久久国产精品首页| 视频在线99re| 欧美午夜欧美| 国产精品自产拍在线观| 国产精品99一区| 久久精品国产欧美激情| 精品国产_亚洲人成在线 | 欧美一级大片在线观看| 免费观看国产成人| 浮妇高潮喷白浆视频| 91国产一区在线| 日韩亚洲综合在线| 欧美大码xxxx| 亚洲aa中文字幕| 欧美日韩一区二区视频在线观看 | 亚洲激情一区二区| 欧美综合77777色婷婷| 国产日韩欧美视频| 91久久精品日日躁夜夜躁国产| 久久久中精品2020中文| 久久精品国产一区| 一区二区在线观看网站| 日韩精品一区二区三区不卡| 国产一区二区三区色淫影院| 91精品国产综合久久久久久丝袜| 日韩中文字幕久久| 欧美精品www在线观看| 日韩成人在线资源| 国产青草视频在线观看| 久久久久久久久久久久久国产 | 国产麻豆日韩| 久久久久五月天| 欧美激情一区二区三区久久久| 日韩av电影免费播放| 国产一区二区在线免费视频| 68精品国产免费久久久久久婷婷 | 7777在线视频| 国产精品久久91| 少妇一晚三次一区二区三区| 欧美福利精品| 国产传媒久久久| 在线观看成人av| 红桃一区二区三区| 国产精品∨欧美精品v日韩精品| 插插插亚洲综合网| 欧美无砖专区免费| 国产成人精品视频|