Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The veterinarians want to know the total for the invoices that have been paid. a . SELECT SUM ( INVOICE ) FROM APPOINTMENTS; b .

The veterinarians want to know the total for the invoices that have been paid.
a. SELECT SUM(INVOICE)
FROM APPOINTMENTS;
b. SELECT SUM(INVOICE)
FROM APPOINTMENTS
WHERE PAID =Y :
c. SELECT SUM(INVOICE)
FROM APPOINTMENTS
WHERE PAID =1;
The veterinarians want the information for appointments scheduled between October 19 th and October 30.
a. SELECT PET_NAME, OWNER_LNAME, APPOINTMENT_REASON, APPOINTMENT_DATE FROM Owner, Pet, Appointments
WHERE OWner.OWNER_ID = Pet.OWNER ID
AND Pet.PET_ID = Appointments.PET_ID
AND APPOINTMENT_DATE BETWEEN '2019-10-19 AND-2019-10-30'
image text in transcribed

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions