How would the following query be adjusted to show the NurseName instead of NurseID next to their
Fantastic news! We've Found the answer you've been seeking!
Question:
How would the following query be adjusted to show the NurseName instead of NurseID next to their totals?
SELECT b.NurseID, SUM(Cost) AS 'Total Cost'FROM Appointment AS b
JOIN Nurse
ON b.NurseID = Nurse.NurseID
GROUP BY NurseID
Related Book For
Accounting concepts and applications
ISBN: 978-0538745482
11th Edition
Authors: Albrecht Stice, Stice Swain
Posted Date: