Task 7: The maintenance team wants to send SMS reminders in relation to upcoming service operations. Therefore, they request the SERVICE_ID 1 day prior to the planned service dates of the service requests as the REMINDER column. However, they only require this information for those service requests where the NEXT_SERVICE_DATE is set
Task 7: The maintenance team wants to send SMS reminders in relation to upcoming service operations. Therefore, they request the SERVICE_ID 1 day prior to the planned service dates of the service requests as the REMINDER column. However, they only require this information for those service requests where the NEXT_SERVICE_DATE is set
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
Task 7:
The maintenance team wants to send SMS reminders in relation to upcoming service operations. Therefore, they request the SERVICE_ID 1 day prior to the planned service dates of the service requests as the REMINDER column. However, they only require this information for those service requests where the NEXT_SERVICE_DATE is set.
Task
Retrieve the SERVICE_ID 1 day prior to the planned service dates of the service requests as the REMINDER column. Only provide this information for those service requests where the NEXT_SERVICE_DATE is set.

Transcribed Image Text:The SERVICE_REQUEST table contains information on service requests for each property. The
SERVICE_REQUEST table stores the service ID, property ID, service category number, the
managing office ID, request description, the request's status, estimated hours, hours spent, and
the service date.
SERVICE_ID PROPERTY_ID CATEGORY_NUMBER
OFFICE ID
DESCRIPTION
STATUS
EST HOURS SPENT HOURS NEXT_SERVICE_DATE
Problem has been confirmed.
The second bedroom upstairs is not
1
11
2019-11-01
central heating engineer has been
scheduled.
2
1
heating up at night.
2
4
1
A new strip light is needed for the kitchen.
Scheduled
2019-10-02
The bathroom door does not close
Service rep has confirmed issue.
3
6
5
1
3
1
2019-11-09
properly.
Scheduled to be refitted.
New outlet has been requested for the
first upstairs bedroom. (There is currently
no outlet).
4
4.
1
Scheduled
2019-10-02
New paint job requested for the common
area (lounge).
2
Open
10
NULL
Problem confirmed. Plumber has
6
Shower is dripping when not in use.
4
2
2019-10-07
been scheduled.
SERVICE_REQUEST table
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education