Write the SQL code to list the session date and therapists last name to display the upcoming
Question:
Write the SQL code to list the session date and therapist’s last name to display the upcoming schedule for the therapists.
a. SELECT Session.SessionDate, Therapist.LastName FROM Therapist INNER JOIN (Therapies INNER JOIN [Session] ON Therapies.
TherapyCode = Session.TherapyCode) ON Therapist.TherapistID = Session.
TherapistID;
b. SELECT Session.SessionDate, Therapist.LastName FROM Therapist INNER JOIN Session ON Therapist.TherapistID = Session.TherapistID;
c. SELECT Session.SessionDate, Therapist.LastName FROM Therapist INNER JOIN ON Therapist.TherapistID = Session.TherapistID;
d. SELECT LastName FROM Therapist INNER JOIN Session ON Therapist.TherapistID = Session.TherapistID;
Step by Step Answer:
Concepts Of Database Management
ISBN: 9780357422083
10th Edition
Authors: Lisa Friedrichsen, Lisa Ruffolo, Ellen Monk, Joy L. Starks, Philip J. Pratt