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

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

CS 2550代做、代寫SQL設計編程

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



CS 2550 – Principles of Database Systems (Spring 2024)
Dept. of Computer Science, University of Pittsburgh
Assignment #4: Query Processing & Optimization
Release: April 10, 2024 Due: 8:00PM, April 22, 2024
Goal
The goal of this assignment is to better understand the query evaluation process.
Description
The following is a fragment of the university database schema.
Employee (EmployeeID, First, Last, Gender, DOB, Address, Phone, SNO, Salary)
PK(EmployeeID)
FK(SNO) --> Studio(StudioNum)
Studio (StudioNum, StudioName, Manager, Budget)
PK(StudioNum)
FK(Manager) --> Employee(EmployeeID)
Movie (movieID, producedBy, title, Budget, filmedAt)
PK(movieID)
FK(producedBy) --> Studio(StudioNum)
Consider four possible organizations of the tables Employee(E)-Studio(S)-Movie(M):
1. Tables E, S and M are heap files & no access methods exist on any of them
2. Tables E and S are sorted files and M is a heap file & no access methods exist on any of them
3. Tables E, S and M are heap files & access methods (hashing) exist only on M
4. Table E is a sorted file and tables S and M are heap files & access methods exist on E and
M, one of which is hash and the other is index
Further assume the following statistics:
ˆ Available Cache Memory (CM) to be 22 pages.
ˆ Attributes belonging to the same table all have the same average size.
ˆ When using hash join, the smaller record will be the partitioning part.
ˆ The distribution of values for the attribute filmedAt in the table Movie is: 50% ’flH’, 30%
’PHI’, and 20% ’NYC’.
ˆ Movie: r = 500, bfr = 5, BP rj = 100.
ˆ Studio: r = 250, bfr = 5, BDep = 50.
ˆ Employee: r = 1250, bfr = 5, BEmp = 250.
ˆ Note that r is the total number of tuples in a table, bfr is the blocking-factor, and B is the
total number of blocks of a table.
Questions [100 points]
Q1 [20 points] Produce the heuristic query evaluation tree of the following SQL statement assuming no access structures available, and describe in details how the evaluation of the query would
be:
SELECT S.StudioName, COUNT(M.movieID), SUM(M.Budget)
FROM EMPLOYEE AS E, Studio AS S, Movie AS M
WHERE M.producedBy = S.StudioNum AND E.SNO = S.StudioNum
GROUP BY S.StudioName
HAVING COUNT(E.EmployeeID) < 15;
State any additional assumptions. (Hint: some operators can be combined into a single algorithm).
Q2 [80 points] Consider the query evaluation tree as discussed in class of the following SQL
statement.
SELECT M.movieID, M.producedBy, E.First, E.Last, E.Gender
FROM Employee AS E, Studio AS S, Movie AS M
WHERE M.producedBy = S.StudioNum AND S.Manager = E.EmployeeID
AND M.filmedAt=‘flH’;
Based on your pittID, you have two database organizations assigned to you from the above organizations in order to answer this question. For those two organizations, identify sub trees that
represent groups of operations which can be executed by a single algorithm. For each such sub tree,
there are potentially multiple methods that can be combined to implement it as a single algorithm.
Please provide the following:
ˆ The description of one such implementation (steps & data structures) out of all possible ones
for each of the above cases.
ˆ The I/O cost of your implementation at each level.
ˆ Compute the total I/O cost.
You are asked to answer the question for two database organizations, those are based on your
pittID, as follows:
ddh**, tiw81, yiy161, dhb51, yul251, sml153, nia135, dtk28:
You are required to do the first and second organizations only.
mas937, yux85, anp407, shk148, nat134, aba166, mod53, jeb386:
You are required to do the first and third organizations only.
aym50, bsp22, yuw**8, shy158, btl26, shp184, jah292, tbt8:
You are required to do the first and fourth organizations only.
What & How to submit
ˆ You are required to submit exactly one PDF file under your pitt user name (e.g.,
pitt01.pdf). In addition to providing the answer, you are expected to: include your
name and pitt ID at the top of the PDF file.
ˆ After preparing your solution, submit your file (i.e., the prepared PDF) that contains
your solution by going to the class’ Gradescope by either navigating to the Gradescope
Homepage and selecting the course CS 2550 from the Course Dashboard or by clicking
the Gradescope Navigation option under our course Canvas page.
ˆ You must submit your assignment before the due date (8:00 PM, Apr. 22, 2024).
There are no late submissions.
ˆ Note that you are required to use a graph tool (such as MS-Word, MS Powerpoint, MS
Visio, idraw, draw.io, etc.) to generate your diagrams and the text that explain them.
Handwritten/Hand-drawn diagrams and/or text will not be accepted/graded
and will receive a zero. Hand-written and digitized/scanned images will
receive a zero (including scanned, photos, or electronically drawn using a
smart pen submissions).
Academic Honesty
The work in this assignment is to be done independently. Discussions with other students on
the assignment should be limited to understanding the statement of the problem. Cheating
in any way, including giving your work to someone else will result in an F for the course and
a report to the appropriate University authority.

WX:codinghelp

掃一掃在手機打開當前頁
  • 上一篇:代寫 2XC3、代做 Python 設計編程
  • 下一篇:代做CS 211: Computer Architecture
  • 無相關信息
    合肥生活資訊

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品a久久久久久| 国内精品一区二区三区四区| 日韩高清av| 色综合久久久久久久久五月 | 精品福利影视| 色综合视频一区中文字幕| 一区二区视频在线播放| 伊人久久av导航| 亚洲a级在线播放观看| 日韩av电影免费播放| 日韩免费高清在线观看| 欧美中文字幕在线播放| 黄色片视频在线免费观看| 欧美日韩免费精品| 韩国一区二区av| 国产一级特黄a大片99| 国产精品亚洲不卡a| 久久久之久亚州精品露出| 久久精品国产精品| 久久99精品视频一区97| 亚洲一区二区三区av无码| 日韩在线电影一区| 加勒比海盗1在线观看免费国语版 加勒比在线一区二区三区观看 | 国产精品欧美日韩一区二区| 久久亚洲精品视频| 亚洲高清乱码| 欧美自拍视频在线| 国产精品一区二区免费在线观看| 91av福利视频| 久久久av免费| 亚洲最大av网| 欧美精品欧美精品系列c| 国产欧美一区二区在线播放| 久久免费在线观看| 国产精品成人aaaaa网站| 亚洲欧洲三级| 欧美一级二级三级九九九| 黄色一级在线视频| 91精品久久久久久久| 国产精品美女主播| 色就是色欧美| 国产日韩在线看片| 国产www精品| 中文字幕日韩精品无码内射| 日韩精品一区在线视频| 成人毛片网站| 精品国产拍在线观看| 亚洲在线视频一区二区| 欧美第一黄网| 国产高清自拍99| 一区二区三区四区不卡| 欧美亚洲免费在线| 99高清视频有精品视频| 国产精品国产亚洲伊人久久| 日本一区二区久久精品| 高清欧美性猛交| 国产精品福利视频| 日韩欧美在线电影| 91高清免费在线观看| 九九热精品视频| 欧美xxxx黑人又粗又长精品| 国产精品69久久| 中文字幕精品一区日韩| 狠狠干视频网站| 国产精品丝袜视频| 日本一区二区三区视频在线播放| 国产乱码精品一区二区三区日韩精品| 久久久久久久久久福利| 岛国视频一区| 91久久国产自产拍夜夜嗨| 欧美激情免费在线| 国内精品久久国产| 国产精品视频公开费视频| 热久久免费国产视频| 久久久免费观看视频| 亚洲一区二区三区欧美| 古典武侠综合av第一页| 欧美wwwxxxx| 国产一级做a爰片久久毛片男| 国产精品视频一区二区三区经 | 免费一级特黄毛片| 国产精品视频免费一区二区三区| 日本高清不卡在线| 久久精品人人做人人爽电影| 动漫一区二区在线| 久久久视频在线| 日本在线一区| 久久久久久久久久婷婷| 日本公妇乱淫免费视频一区三区| 国产肥臀一区二区福利视频| 日本一区二区三区视频在线播放| 国产精品99久久免费黑人人妻| 亚洲不卡1区| 久久久女女女女999久久 | 久久69精品久久久久久久电影好| 免费看a级黄色片| 欧美成人免费一级人片100| 国产乱子伦精品| 亚洲www永久成人夜色| 91高潮精品免费porn| 欧美一级视频在线观看| 久久久久五月天| 欧美激情一区二区三区在线视频| 久久精品国产亚洲精品| 欧美日韩国产三区| 欧美成人在线免费| 99爱视频在线| 日本人妻伦在线中文字幕| 国产a一区二区| 欧美日韩另类综合| 欧美精品做受xxx性少妇| 豆国产97在线| 欧美一区二区视频17c| 久久久久久亚洲精品中文字幕| 欧美视频1区| 美女999久久久精品视频| 操人视频欧美| 日韩免费在线看| 不卡av日日日| 国产极品在线视频| 欧美日韩另类丝袜其他| 中文字幕日韩精品久久| 久久精品99| 麻豆久久久9性大片| 亚洲欧洲一区二区在线观看| 久久久久久久久一区| 国产一区喷水| 亚洲精品免费网站| 久久天天躁狠狠躁老女人| 国产欧美精品久久久| 日本一区二区视频| 欧美成人在线免费| 国产成人+综合亚洲+天堂| 国内视频一区二区| 亚洲淫片在线视频| 国产精品日韩在线| 91精品国产综合久久久久久丝袜| 欧美亚洲日本黄色| 久久久久久国产精品久久| 久久久久久免费看| 成人久久久久久久久| 欧美亚洲成人精品| 亚洲欧美精品在线观看| 国产精品无码专区av在线播放| 高清国语自产拍免费一区二区三区| 奇米影视首页 狠狠色丁香婷婷久久综合| 精品麻豆av| 日韩中文字幕在线| 91免费看片网站| 国产乱码精品一区二区三区中文| 欧美自拍资源在线| 天堂va久久久噜噜噜久久va| 精品自拍视频在线观看| 丝袜亚洲欧美日韩综合| av免费观看网| 蜜臀av无码一区二区三区| 色中色综合成人| 在线观看日韩羞羞视频| 国产精品美女主播在线观看纯欲| 国产国语刺激对白av不卡| 成人乱人伦精品视频在线观看| 国产中文字幕日韩| 欧美亚洲在线观看| 日本久久91av| 午夜精品区一区二区三| 色综合天天狠天天透天天伊人| 国产成人精品在线| 国产xxxx振车| 国产精品91久久久久久| 成人av资源在线播放| 国产日韩在线观看av| 欧美 国产 综合| 欧洲日本亚洲国产区| 日韩视频第二页| 日产精品久久久一区二区福利| 亚洲一区二区三区在线观看视频 | 国产一区 在线播放| 黄色动漫网站入口| 欧美在线视频网站| 青草视频在线观看视频| 日韩久久久久久久久久久久久| 日产精品久久久一区二区| 五月天综合网| 熟妇人妻va精品中文字幕| 亚洲精品日韩av| 欧美一区二区三区精品电影| 天堂√在线观看一区二区| 无码人妻aⅴ一区二区三区日本| 亚洲精品一区二| 日本一区网站| 日本www高清视频| 日本精品视频在线| 日本a级片在线播放| 欧洲精品视频在线| 黄色影视在线观看| 国产男女免费视频| 成人久久精品视频| 国产精品12| 国产成人生活片| 国产精品久久久久久影视|