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玉足脚交白嫩脚丫在线播放| 欧洲一区二区三区免费视频| 色一区在线观看| 午夜精品久久久久久久99水蜜桃| 欧美精品一卡两卡| 777午夜精品视频在线播放| 午夜av一区二区| 99精品视频中文字幕| 色香蕉久久蜜桃| 欧美吞精做爰啪啪高潮| 国产日韩精品一区二区三区在线| 欧美精品在线观看播放| 欧美色爱综合网| 欧美日韩美女一区二区| 日本黄色一区二区| 欧美三区在线观看| 精品视频123区在线观看| 91成人看片片| 美国三级日本三级久久99| 首页综合国产亚洲丝袜| 亚洲国产视频一区二区| 亚洲成人自拍一区| 亚洲一区影音先锋| 亚洲高清不卡在线| 日韩电影在线看| 美腿丝袜在线亚洲一区| 国产一区高清在线| 国产剧情一区二区三区| 国产成人免费视频| 亚洲欧美日韩在线不卡| 亚洲动漫第一页| 狠狠色综合日日| 成人免费福利片| 欧美在线一区二区| 日韩欧美的一区二区| 国产欧美日韩久久| 亚洲一二三四区| 丝袜亚洲精品中文字幕一区| 欧美aaa在线| 成人精品视频一区二区三区 | 国产综合久久久久久鬼色| 国产伦精一区二区三区| 色哟哟欧美精品| 91精品国产综合久久国产大片| 2021久久国产精品不只是精品| 国产欧美视频一区二区| 亚洲国产欧美在线| 日本一区二区三级电影在线观看| 日韩理论片在线| 日韩电影一二三区| 不卡一区二区中文字幕| 91精品在线一区二区| 中文字幕第一区二区| 亚洲成人在线免费| 国产精品一线二线三线精华| 欧美图区在线视频| 2023国产一二三区日本精品2022| 亚洲欧美日韩综合aⅴ视频| 久久精品一区四区| 亚洲国产一区二区a毛片| 国产精品99久久不卡二区| 欧美日韩国产综合一区二区| 国产精品伦理一区二区| 麻豆成人久久精品二区三区小说| 色综合一区二区三区| 欧美激情一区不卡| 美女mm1313爽爽久久久蜜臀| 精品视频全国免费看| 综合自拍亚洲综合图不卡区| 国产一区二区三区在线观看免费| 精品视频在线免费观看| 色哟哟欧美精品| 亚洲三级电影网站| 国产精品亚洲一区二区三区在线| 91精品国产乱码| 亚洲一区二区中文在线| 91女厕偷拍女厕偷拍高清| 中文字幕不卡一区| 国产成人综合亚洲91猫咪| 亚洲精品一区二区三区四区高清| 日韩精品视频网| 91精品国产入口在线| 天堂一区二区在线| 91精品一区二区三区在线观看| 亚洲综合一二区| 色94色欧美sute亚洲线路一ni| 亚洲欧美自拍偷拍色图| 不卡电影免费在线播放一区| 欧美高清在线一区| 国产精品一区二区三区四区| 韩国av一区二区三区| 欧美精品一区二区久久婷婷| 美女视频黄免费的久久| 日韩免费福利电影在线观看| 日本怡春院一区二区| 欧美大片在线观看一区| 欧美日韩卡一卡二| 亚洲一区二区在线播放相泽| 在线精品视频小说1| 午夜国产精品影院在线观看| 欧美体内she精高潮| 五月婷婷另类国产| 欧美二区三区的天堂| 美腿丝袜亚洲三区| 久久综合网色—综合色88| 成人美女在线视频| 亚洲理论在线观看| 欧美高清hd18日本| 九九视频精品免费| 亚洲桃色在线一区| 欧洲一区二区av| 国产在线精品视频| 欧美日韩一区国产| 91国偷自产一区二区三区观看 | 国产一区在线观看麻豆| 91久久久免费一区二区| caoporen国产精品视频| 白白色亚洲国产精品| 97精品国产97久久久久久久久久久久| 成人免费视频视频在线观看免费| 国产高清不卡二三区| 成熟亚洲日本毛茸茸凸凹| 免费观看91视频大全| 国产一区二区免费看| 国产成人av网站| aaa欧美色吧激情视频| 国产99一区视频免费| 国产精品18久久久| 香蕉加勒比综合久久| 亚洲欧美精品午睡沙发| 日韩欧美美女一区二区三区| 国产偷国产偷精品高清尤物| 亚洲3atv精品一区二区三区| 欧洲激情一区二区| www.亚洲免费av| 视频在线在亚洲| 99视频精品在线| 亚洲超碰精品一区二区| 国产欧美一区视频| 制服丝袜在线91| 99国内精品久久| 国内欧美视频一区二区| 天堂成人免费av电影一区| 成人高清av在线| 久久中文娱乐网| 久久精品国产一区二区三区免费看| 97精品电影院| 亚洲免费视频成人| 美女高潮久久久| 91久久久免费一区二区| 亚洲制服丝袜av| 93久久精品日日躁夜夜躁欧美| 久久这里只精品最新地址| 在线日韩国产精品| 国产精品午夜电影| 久久久蜜臀国产一区二区| 亚洲伊人色欲综合网| 国产精品麻豆视频| 日韩精品中午字幕| 欧美一级国产精品| 欧美日韩国产免费一区二区| 91麻豆.com| 91女神在线视频| 99久久精品国产麻豆演员表| 久久99精品国产.久久久久久| 免费久久精品视频| 久久精品国产在热久久| 精品一区二区三区影院在线午夜| 日韩激情视频在线观看| 67194成人在线观看| 欧美日韩成人综合天天影院 | 一本久久a久久免费精品不卡| 国内精品国产三级国产a久久| 日本一不卡视频| 国内精品久久久久影院薰衣草 | 精品写真视频在线观看| 久久精品国产第一区二区三区| 免费观看久久久4p| 久草热8精品视频在线观看| 极品少妇xxxx精品少妇| 久久99在线观看| 国产乱人伦精品一区二区在线观看| 国产精品一区在线观看乱码| 成人涩涩免费视频| 欧美亚洲综合另类| 91精品久久久久久久99蜜桃| 精品国产自在久精品国产| 国产欧美一区二区三区在线看蜜臀 | 日韩黄色一级片| 亚洲在线观看免费视频| 国产亚洲美州欧州综合国 | 国产人久久人人人人爽| 91国产福利在线| 色综合久久九月婷婷色综合| 成人综合婷婷国产精品久久免费| 亚洲高清免费视频| 亚洲第一会所有码转帖| 欧美久久高跟鞋激| 精品久久久久久久久久久久包黑料 | 欧美久久久久久久久中文字幕|