Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

select p.pr_id,p.username,p.password,p.fname,p.lname,p.ofzcode, a.a_id,a.appointment_time, d.doctor_id,d.doctor_name from providers as p join appointments as a join doctors as d on p.pr_id=a.a_id=d.doctor_id where (p.username='Lily_777' and p.password='Brooks_666'and p.fname='Lilly' and p.lname='Brooks'

select p.pr_id,p.username,p.password,p.fname,p.lname,p.ofzcode, a.a_id,a.appointment_time, d.doctor_id,d.doctor_name

from providers as p join appointments as a join doctors as d on p.pr_id=a.a_id=d.doctor_id

where (p.username='Lily_777' and p.password='Brooks_666'and p.fname='Lilly' and p.lname='Brooks' and p.pr_id=8045) and

(d.doctor_name='Alex' and a.appointment_time=10.30)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago