Write the SQL code that answers the following question: How long are the therapy sessions for the

Question:

Write the SQL code that answers the following question: How long are the therapy sessions for the therapist whose last name is Shields? List the length of each session.

a. SELECT Session.LengthOfSession, Therapist.LastName='Shields'

FROM Therapist, Session WHERE Therapist.TherapistID = Session.TherapistID;

b. SELECT Session.LengthOfSession FROM Therapist, Session WHERE Therapist.LastName='Shields';

c. SELECT Session.LengthOfSession FROM Therapist, Session WHERE Therapist.TherapistID = Session.TherapistID AND Therapist.

LastName='Shields';

d. SELECT Session.LengthOfSession FROM Session WHERE Therapist.TherapistID = Session.TherapistID AND Therapist.

LastName='Shields';PatientNum LastName FirstName Koehler King Houghland Falls Odepaul Venable Waggoner 1010 1011 1012 1013. 1014

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

Step by Step Answer:

Related Book For  answer-question

Concepts Of Database Management

ISBN: 9780357422083

10th Edition

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

Question Posted: