Create a new table named ScheduledClients to contain client’s name, the scheduled date of service, task ID, description of the service, and the quoted price.
Create a new table named ScheduledClients to contain client’s name, the scheduled date of service, task ID, description of the service, and the quoted price.
Chapter17: Creating A Database
Section: Chapter Questions
Problem 8QY
Related questions
Question
- Create a new table named ScheduledClients to contain client’s name, the scheduled date of service, task ID, description of the service, and the quoted price.
Expert Solution
Step 1
CREATE TABLE ScheduledClients AS SELECT c.ClientName AS ClientName, o.ScheduledDate AS ScheduledDate, o.TaskID AS TaskID, t.Description AS Description, t.Price AS Price FROM OrderLine o JOIN WorkOrders w ON o.OrderNum=w.OrderNum JOIN Client c ON w.ClientNum=c.ClientNum JOIN Task t ON t.TaskID=o.TaskID;
Trending now
This is a popular solution!
Step by step
Solved in 2 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
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage