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;">

                99精品视频在线观看免费| 欧美一区二区人人喊爽| 福利视频网站一区二区三区| 国产98色在线|日韩| 91高清视频免费看| 欧美不卡123| 玉足女爽爽91| 国产精品青草久久| 亚洲自拍偷拍九九九| 久久精品国产亚洲一区二区三区| 国产成人午夜精品5599| 91麻豆精品国产无毒不卡在线观看| 久久久99免费| 日韩高清不卡一区| 94色蜜桃网一区二区三区| 欧美不卡123| 午夜伊人狠狠久久| 91麻豆蜜桃一区二区三区| 久久久五月婷婷| 青青草精品视频| 欧美午夜一区二区| 亚洲欧洲一区二区三区| 国产毛片精品国产一区二区三区| 欧美在线观看一区二区| 国产精品毛片大码女人| 国产精品996| 国产午夜亚洲精品不卡| 极品美女销魂一区二区三区免费 | 9191国产精品| 樱桃视频在线观看一区| 91网站在线观看视频| 国产精品美女久久久久久2018 | 国产亚洲一二三区| 免费精品视频在线| 欧美精品v国产精品v日韩精品| 国产精品久久久久国产精品日日 | 成人深夜视频在线观看| 国产情人综合久久777777| 国精产品一区一区三区mba视频| 久久久久青草大香线综合精品| 午夜视频一区在线观看| 欧美顶级少妇做爰| 天使萌一区二区三区免费观看| 欧美亚洲国产bt| 五月天网站亚洲| 日韩一区二区三区精品视频| 久久99精品国产| 国产日产欧美一区二区视频| 国产成a人亚洲| 国产精品久久久久久亚洲伦| 91免费看片在线观看| 亚洲制服丝袜av| 欧美一级高清片| 国产精品综合网| 综合色中文字幕| 欧美日韩国产在线播放网站| 免费成人你懂的| 久久精品欧美一区二区三区麻豆 | 国产成人精品一区二| 国产欧美一区二区三区网站| av一本久道久久综合久久鬼色| 亚洲精品高清在线| 717成人午夜免费福利电影| 日韩精品国产精品| 国产校园另类小说区| 日本韩国欧美一区| 日本成人超碰在线观看| 国产欧美一区二区三区在线老狼| 99re成人精品视频| 丝瓜av网站精品一区二区 | 久久精品综合网| 91小视频免费看| 日本不卡123| 国产精品久久99| 4438亚洲最大| 不卡影院免费观看| 天天色天天操综合| 国产精品水嫩水嫩| 在线不卡中文字幕| 成人午夜私人影院| 日本欧美在线看| 国产精品美女久久久久高潮| 欧美日韩亚洲丝袜制服| 国产成人免费av在线| 午夜婷婷国产麻豆精品| 国产日韩视频一区二区三区| 欧美精品丝袜中出| aaa国产一区| 韩国成人在线视频| 午夜精品久久久久久久99水蜜桃 | 成人美女在线观看| 色噜噜夜夜夜综合网| 美女一区二区三区在线观看| 亚洲欧洲av另类| wwwwww.欧美系列| 欧美久久久久久久久久| 99久久er热在这里只有精品15| 六月丁香婷婷久久| 亚洲伊人色欲综合网| 中文字幕第一区| 精品日韩成人av| 91精品国产一区二区三区蜜臀| 97aⅴ精品视频一二三区| 国产原创一区二区三区| 丝袜亚洲精品中文字幕一区| 亚洲免费av网站| 国产精品人妖ts系列视频| 久久亚洲综合色一区二区三区 | 日韩黄色一级片| 一片黄亚洲嫩模| 国产精品麻豆视频| 国产清纯白嫩初高生在线观看91| 日韩一区二区不卡| 337p亚洲精品色噜噜噜| 欧美日韩国产高清一区| 欧美亚洲动漫制服丝袜| 欧美性猛交xxxx黑人交| 一本色道**综合亚洲精品蜜桃冫| 不卡av在线网| 不卡一区二区三区四区| 粗大黑人巨茎大战欧美成人| 国产一区 二区| 国产成人av一区| 成人性生交大合| 成人av电影免费在线播放| 国产盗摄精品一区二区三区在线| 精品一区二区三区的国产在线播放| 日韩vs国产vs欧美| 免费高清成人在线| 久久99久久99小草精品免视看| 免费不卡在线观看| 久久精品国产99| 国产在线精品视频| 国产成人综合精品三级| 成人午夜又粗又硬又大| 91在线精品秘密一区二区| 91成人免费在线视频| 欧美视频中文一区二区三区在线观看| 欧美怡红院视频| 91精品国产综合久久国产大片| 在线成人小视频| 久久午夜羞羞影院免费观看| 国产欧美日韩一区二区三区在线观看| 亚洲国产经典视频| 亚洲免费在线观看视频| 亚洲一区二区精品视频| 日韩成人伦理电影在线观看| 国产尤物一区二区| 91污片在线观看| 欧美一区三区四区| 国产日产欧产精品推荐色| 精品一区二区在线免费观看| 精品一区二区免费视频| 成人免费精品视频| 欧美日韩成人综合天天影院| 欧美变态tickle挠乳网站| 久久精品人人做人人爽人人| 亚洲精品日日夜夜| 精品在线你懂的| 一本大道久久a久久综合 | 日产精品久久久久久久性色| 国内精品在线播放| 97se狠狠狠综合亚洲狠狠| 欧美日韩国产成人在线免费| 2020国产成人综合网| 亚洲激情自拍偷拍| 精品一区二区三区视频 | 亚洲综合无码一区二区| 人人精品人人爱| 成人激情电影免费在线观看| 欧美日韩国产天堂| 欧美国产一区在线| 日本网站在线观看一区二区三区 | 欧美一级免费观看| 国产色产综合产在线视频| 亚洲伦理在线精品| 精品亚洲aⅴ乱码一区二区三区| 色综合久久久久久久| 精品久久久久99| 一区二区欧美视频| 粉嫩久久99精品久久久久久夜| 7777女厕盗摄久久久| 亚洲免费在线观看| 激情文学综合网| 欧美日本在线播放| 亚洲欧美日韩小说| 国产精品99久久久久久久女警 | 久久综合资源网| 亚洲va韩国va欧美va精品| 成人18视频在线播放| 欧美xxxxxxxx| 蜜桃视频一区二区三区| 在线观看中文字幕不卡| 亚洲欧洲日产国码二区| 国产激情视频一区二区三区欧美| 欧美精品777| 亚洲一区二区三区视频在线播放 | 亚洲在线视频网站| 国产久卡久卡久卡久卡视频精品| 国产一区二区三区日韩|