Anasayfa
/
Teknoloji
/
Q2.3 Select DoctorID AVG(TotalBill) From Bill Group by DoctorlD Order by AVG(TotalBill);

Soru

Q2.3 Select DoctorID AVG(TotalBill) From Bill Group by DoctorlD Order by AVG(TotalBill);

Çözüm

4.6 (267 Oylar)
Nilüfer
Uzman doğrulaması
Usta · 5 yıl öğretmeni

Cevap

The correct answer is:SELECT DoctorID, AVG(TotalBill)FROM BillGROUP BY DoctorIDORDER BY AVG(TotalBill);Explanation: This SQL query selects the DoctorID and the average TotalBill from the Bill table, groups the results by DoctorID, and orders the results by the average TotalBill in ascending order.