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

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

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% ’PGH’, 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=‘PGH’;
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
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

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

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

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

          9000px;">

                成人免费视频播放| 欧美私人免费视频| 欧美精品久久一区二区三区| 五月天激情综合| 91精品国产综合久久香蕉麻豆| 有坂深雪av一区二区精品| 欧美日韩三级一区二区| 日本三级亚洲精品| 久久久久久久av麻豆果冻| 国产传媒一区在线| 亚洲精品少妇30p| 日韩欧美国产午夜精品| 国产精品亚洲专一区二区三区| 日本一区二区三级电影在线观看| 91亚洲精品一区二区乱码| 日韩成人午夜电影| 亚洲视频 欧洲视频| 精品国产一区二区三区av性色| 国产成人av一区二区三区在线观看| 亚洲日本乱码在线观看| 精品蜜桃在线看| 欧美色图一区二区三区| 国产精一区二区三区| 丝袜亚洲另类欧美综合| 中文字幕一区二区三区在线不卡| 91精品国产高清一区二区三区 | 国产午夜精品一区二区三区四区| 色婷婷av一区| 粉嫩av一区二区三区在线播放| 视频在线观看国产精品| 亚洲欧美另类久久久精品| 久久精品亚洲国产奇米99| 欧美高清视频一二三区| 欧洲色大大久久| 9色porny自拍视频一区二区| 国产精品99久| 极品少妇xxxx精品少妇偷拍| 日韩精品久久久久久| 亚洲成人av一区二区| 一区二区三区四区中文字幕| 国产精品久久久久久久久免费桃花| 精品国产91亚洲一区二区三区婷婷| 欧美日本一区二区在线观看| 欧美性欧美巨大黑白大战| 91视频你懂的| 91影视在线播放| 91麻豆免费观看| 色综合视频在线观看| 成人一区二区视频| 成人av在线播放网址| eeuss鲁片一区二区三区| 成人av电影在线观看| 成人高清免费在线播放| av不卡免费电影| 色欧美日韩亚洲| 日本丶国产丶欧美色综合| 91久久香蕉国产日韩欧美9色| 色婷婷综合在线| 欧美午夜理伦三级在线观看| 欧美日韩高清在线播放| 欧美日韩激情在线| 日韩视频一区二区三区| 欧美精品一区二区三区蜜桃| 精品久久久久香蕉网| 精品国产凹凸成av人导航| 国产精品天美传媒沈樵| 亚洲免费在线视频一区 二区| 亚洲一二三四在线| 麻豆一区二区在线| 成人激情校园春色| 在线观看视频一区二区欧美日韩 | 成人性生交大合| 91女人视频在线观看| 精品视频色一区| www成人在线观看| 国产精品美女久久久久av爽李琼| 亚洲精品成人a在线观看| 水蜜桃久久夜色精品一区的特点 | 国产福利视频一区二区三区| 国产黄人亚洲片| 日本高清不卡视频| 久久精品人人做人人综合| 亚洲精品国产一区二区三区四区在线| 爽爽淫人综合网网站| 95精品视频在线| 欧美在线免费观看亚洲| 日韩三级在线观看| 国产精品欧美一区喷水| 亚洲成人av免费| 成人美女视频在线看| 91精品婷婷国产综合久久性色| 国产亚洲一二三区| 日韩精品一级二级 | 成人精品国产免费网站| 欧美视频一区二区三区四区| 久久久精品影视| 日韩国产精品久久久| 99re在线精品| 久久色在线视频| 日日摸夜夜添夜夜添亚洲女人| 丁香激情综合国产| 精品欧美一区二区久久| 日韩avvvv在线播放| 91国产丝袜在线播放| 亚洲国产精品二十页| 精品一区二区三区在线播放视频 | 日韩欧美一二区| 亚洲一区二区三区精品在线| 国产91精品久久久久久久网曝门 | 亚洲成人一区在线| 色偷偷一区二区三区| 中文字幕一区二区三区乱码在线| 国产一区二区三区综合| 日韩欧美电影一二三| 丝袜亚洲另类欧美综合| 欧美三级欧美一级| 一区二区三区av电影| 91在线观看一区二区| 国产精品久久久久国产精品日日| 国产成人免费网站| 久久久精品人体av艺术| 国产精品一区免费在线观看| 精品国产一区久久| 国产一区二区调教| 国产精品理论片| 国产成人午夜高潮毛片| 一区二区三区中文免费| 国产精品18久久久久久久久| 国产精品日韩精品欧美在线| 国产在线一区二区| 欧美精品一区二区三区高清aⅴ| 蜜桃一区二区三区在线| 91精品国产91久久久久久最新毛片 | 91女人视频在线观看| 亚洲日本欧美天堂| 欧美日韩三级一区| 男人的天堂亚洲一区| 精品国产免费一区二区三区香蕉| 久久国产精品色婷婷| 国产日本一区二区| 91麻豆国产福利在线观看| 亚洲第一成人在线| 精品国产乱码久久久久久久| 国产福利精品一区二区| 亚洲日本在线a| 欧美日本韩国一区二区三区视频| 麻豆精品在线看| 国产精品黄色在线观看| 欧美日韩色综合| 国产美女久久久久| 亚洲精品免费视频| 日韩精品一区二区三区视频在线观看| 国产黄人亚洲片| 亚洲国产精品久久不卡毛片 | 在线观看av一区二区| 婷婷综合久久一区二区三区| 国产丝袜美腿一区二区三区| 欧美在线观看一二区| 久久99精品久久久| 亚洲综合成人在线视频| 精品不卡在线视频| 欧美日韩在线直播| 国内精品久久久久影院一蜜桃| 亚洲欧洲国产日本综合| 日韩欧美一区在线| 99精品视频在线免费观看| 五月天婷婷综合| 国产精品乱码人人做人人爱| 日韩亚洲欧美综合| 日本乱码高清不卡字幕| 久久99精品国产麻豆不卡| 一区二区在线电影| 国产精品系列在线| 日韩欧美色电影| 在线观看视频欧美| www.在线欧美| 国产综合成人久久大片91| 亚洲丶国产丶欧美一区二区三区| 欧美韩日一区二区三区| 日韩欧美资源站| 日韩欧美一区二区免费| 欧美日韩国产乱码电影| 91国产免费看| 色av综合在线| www.爱久久.com| 成人午夜激情影院| 激情综合网av| 麻豆极品一区二区三区| 日韩一区精品视频| 天天亚洲美女在线视频| 亚洲成人中文在线| 亚洲国产欧美日韩另类综合| 一区二区三区在线免费观看| 国产精品久久久久精k8| 国产精品天美传媒| 亚洲欧美日韩系列| 亚洲精品乱码久久久久久黑人| 亚洲特级片在线| 一区二区三区四区乱视频| 一区二区三区日韩在线观看|