Draw the query plan tree assuming there are no indexes

Assignment Help Computer Engineering
Reference no: EM133744810

Assignment: Current Event Counterfeit Goods Seizure

Consider the following tables:

students (studentsId -> name, course, dateBirth)
books (bookid -> title, yearPublication, publishingCompany)
loans (loanId -> studentId, bookId, dateLoan)

And the following query:

SELECT S.name

FROM Students S, books B, loans L
WHERE S.studentId = L.studentId
AND B.bookId = L.bookId
AND B.publishingCompany = 'O'Reilly'
AND YEAR(S.dateBirth) BETWEEN 1990 AND 2000

And assume:

There are 15,000 student records stored on 1,500 pages.
There are 100,000 work records stored on 10,000 pages.
There are 500,000 loan records stored on 25,000 pages.
There are 1,000 different publishers.

Students' birth dates range from 1980 to 2010

1. Draw the query plan tree, assuming there are no indexes and the data is not ordered by any attributes. Justify and give an example of your answer?

2. Calculate the cost of this query plan (a) and the cardinality of the result (b) Justify and exemplify your answer.

Reference no: EM133744810

Questions Cloud

Write about the theory you have studied : Write about the theory you've studied throughout the semester which is the narrative theory. Application/Example of the theory in action in everyday life.
What do you think you can do to expand medicaid expansion : Expanding your thoughts to include you as a DNP-leader, what do you think you can do to expand Medicaid expansion to the rural communities?
Create a dashboard and use at least three indicators : Create a dashboard and use at least three indicators. Your product should include a description and rationale for each indicator chosen for your dashboard.
Analyze the problem using milios framework for prevention : Analyze the problem using Milio's framework for prevention from the module 1 readings (Chapter three in your text, pp 41).
Draw the query plan tree assuming there are no indexes : Draw the query plan tree, assuming there are no indexes and the data is not ordered by any attributes. Justify and give an example of your answer?
Example of the influence of on gender differences : In many Middle Eastern countries, males are socialized and schooled to work in the public sphere, females in the private world of home and child rearing.
Balance between meeting metrics or regulatory requirements : How does clinical supervisor find balance between meeting metrics or regulatory requirements and ensuring quality of care through development of supervisees?
Concept of the sociological imagination : Describe C. Wright Mills' concept of the sociological imagination. What does the sociological imagination allow us to do?
Is crime an unavoidable aspect of society : Is crime an unavoidable aspect of society? What proactive measures can be implemented to mitigate its occurrence? Please provide a detailed explanation.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd