Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are given a table, TASKS, containing three columns Taskld, StartDate and EndDate. Each task requires only 1 day in order to complete. That is,

image text in transcribed
You are given a table, TASKS, containing three columns Taskld, StartDate and EndDate. Each task requires only 1 day in order to complete. That is, the difference between the EndDate and the StartDate is equal to 1 day for each row in the table. If the StartDate of the tasks are consecutive, then they are part of the same project. The projects table, PROJECTS, was accidentally deleted. Write a query to produce a summary table of the projects undertaken. The summary table should include the start and end dates of projects listed by the number of days it took to complete the project in ascending order. If there is more than one project that have the same number of completion days, then output is ordered by the start date of the project

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

Question What integration level should an employer choose?

Answered: 1 week ago