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;Session Num 27 28 29 30 31 32 33 34 35 36 37 38 SessionDate 10/10/2021 10/11/2021 10/11/2021 10/12/2021

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Concepts Of Database Management

ISBN: 9780357422083

10th Edition

Authors: Lisa Friedrichsen, Lisa Ruffolo, Ellen Monk, Joy L. Starks, Philip J. Pratt

Question Posted: