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號線
  • 短信驗證碼 目錄網 排行網

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

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

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

          9000px;">

                天天碰免费视频| 精品人妻无码一区二区三区蜜桃一 | 天天综合久久综合| 一色道久久88加勒比一| 天天操天天干天天摸| 亚洲欧美综合7777色婷婷| 中文字幕亚洲欧洲| 99精品999| 国产又粗又猛又爽视频| 日本成人午夜影院| 亚洲成人久久精品| 亚洲综合免费视频| 国产三级av片| 中文字幕一二三四| 久久精品www| 91禁在线观看| 天天摸天天碰天天爽天天弄| 波多野结衣一区二区三区四区| 日韩欧美三级视频| 国产又爽又黄的视频| 亚洲一区中文字幕永久在线| 日韩和一区二区| 国产人成视频在线观看| 亚洲欧美aaa| 四季av一区二区| 精品美女www爽爽爽视频| av鲁丝一区鲁丝二区鲁丝三区| 日本一区二区网站| 国产一区二区视频免费观看| 亚洲欧美精品aaaaaa片| 日韩一级片中文字幕| 黄色一级片一级片| www.com黄色片| 亚洲第一成年人网站| 日本黄色免费视频| 黑人乱码一区二区三区av| www.天天干.com| 亚洲老女人av| 亚洲精品国产suv一区| 中文字幕一区二区在线视频| 亚洲黄色片免费| 丁香花五月婷婷| 久久国产在线观看| 国产伦精品一区三区精东| 一二三四在线观看视频| 亚洲大片免费观看| 少妇av一区二区| 日本午夜精品视频| 男人的天堂影院| 黄色一级片免费播放| 国产精品成人69xxx免费视频| 亚洲一区二区三区三州| 最新在线中文字幕| 在线免费观看日韩av| 性刺激的欧美三级视频| 手机av在线免费| 欧美一区二区三区爽爽爽| 精品美女久久久久| 国产极品999| 国产精品美女久久久久av爽| 久久精品国产99久久99久久久| 欧美亚洲日本在线| 在线免费观看成年人视频| 9久久婷婷国产综合精品性色| 国产伦精品一区二区三区妓女| 久久精品无码av| 香蕉久久国产av一区二区| 91tv国产成人福利| 九九久久免费视频| 无码人妻一区二区三区免费| 一级黄色免费网站| 久久久久亚洲视频| 亚欧激情乱码久久久久久久久| 亚洲一级片av| 久久精品国产亚洲av无码娇色 | 国产黄色片av| 成人无码www在线看免费| 国产a级片视频| 99免费在线视频| 超碰在线公开97| 国产午夜福利一区| 久久久久久久久黄色| 黄色一级大片在线免费看国产| 久久久久久久久99| 日本视频免费观看| 在线观看黄网站| 一级黄色大片免费观看| 国产精品一级二级| 久久久精品毛片| 日批视频免费看| 中文字幕av无码一区二区三区| 亚洲免费黄色网| 国产123在线| 蜜桃av乱码一区二区三区| 日韩三级久久久| 中文字幕无码日韩专区免费| 99九九99九九九99九他书对| 国产一级特黄a大片免费| 久久免费视频6| 亚洲不卡的av| www.久久久精品| 久久久久99精品成人片毛片| 水蜜桃av无码| 亚洲狼人综合网| 黄色av一区二区三区| 三级网站在线免费观看| 亚洲精品乱码久久久久久久| 国产黄a三级三级看三级| 蜜臀av中文字幕| 中文字幕av第一页| 国产精品久久久久久亚洲色 | 亚洲一级黄色录像| 国产综合在线播放| 天天av天天操| www.日本久久| 欧美一区二区三区观看| 一区二区三区在线观看免费视频| 国产免费看av| 国产一级二级毛片| 亚洲色大成网站www| 日韩中文字幕有码| 久久精品美女视频| 高清一区二区视频| 91精品久久久久久久久久久久| 人人爽人人爽人人片av| 久久性爱视频网站| 国产精品丝袜黑色高跟鞋| 99在线观看免费| 亚洲欧洲日韩综合| 久久久久久av无码免费网站 | 在线日韩国产网站| 国产精品午夜福利| 亚洲av无码一区二区二三区| 国产精品111| 一级做a爱片久久毛片| 国产又黄又大又爽| 亚洲国产精品成人综合久久久| 日韩一区二区三区四区视频| 久草精品视频在线观看| 日韩三级视频在线播放| 一区二区三区亚洲视频| 不卡的在线视频| 91精产国品一二三| 人人爽人人爽人人片| 亚洲黄网在线观看| 国产又粗又大又黄| 人妻人人澡人人添人人爽| 久久综合伊人77777麻豆最新章节| 国产一级做a爱免费视频| 精品少妇久久久| 中文在线免费看视频| 在线精品视频播放| 亚洲精品乱码久久久久久久| 亚洲不卡视频在线| 午夜福利一区二区三区| 无码人妻aⅴ一区二区三区69岛| 五月天六月丁香| 91久久国产综合久久91| 国产一级淫片a视频免费观看| 91午夜精品亚洲一区二区三区| 一区视频免费观看| 五月婷婷深爱五月| 无码av免费精品一区二区三区| 国产三级av在线播放| 妖精视频一区二区| 国产三级国产精品| 国产日韩免费视频| 情侣偷拍对白清晰饥渴难耐| 中文字幕av久久爽一区| 97精品人妻一区二区三区蜜桃| 国产精品揄拍100视频| 最新av免费在线观看| 人人妻人人爽人人澡人人精品| 国产在线不卡av| 91theporn国产在线观看| 亚洲天堂视频网| 五月婷婷色丁香| 亚洲视频在线播放免费| 中文国产在线观看| 中文字幕久久av| 最新中文字幕免费| 亚洲女人毛茸茸高潮| 91精品国产高清一区二区三蜜臀 | 国产在线一二区| 黄色一级大片在线免费观看| 在线免费视频a| 天天综合天天色| 少妇高潮一区二区三区69| 免费看黄色aaaaaa 片| 黑鬼狂亚洲人videos| 国产美女免费网站| 国产精品第9页| 成人羞羞国产免费图片| av免费观看网址| av网在线播放| www.色播.com| 国产大片中文字幕| 国产精品高潮呻吟久久久| 国产黄色免费观看| 国产成人精品白浆久久69|