0

Write a query to display patient id and the maximum number of appointments booked by the patient.order by patient

I am not able to use two aggregate function together

14th Aug 2019, 6:38 PM
Dhiraj singh✔️
Dhiraj singh✔️ - avatar
4 Respostas
+ 1
Dhiraj singh✔️ It seems your question appears to be an assignment. Please show us your attempt and use the 8 rules to get help from the community. https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community *can be a code coach solution which is meant for you to do to help you establish your skills abilities and where you need to learn... not the community *one issued by a school or other institution *one issued or created by another platform *one that appears to be in the form of a challenge that was created by you or somewhere else. Your question will be reviewed by a team of moderators and will most likely be marked for deletion. https://www.sololearn.com/Discuss/1316935/?ref=app
7th Feb 2021, 3:11 AM
BroFar
BroFar - avatar
0
I tried this but it is not working...
15th Aug 2019, 9:09 AM
Dhiraj singh✔️
Dhiraj singh✔️ - avatar
- 1
Select patient id, max(appointment), From patient table, Order by patient number ;
14th Aug 2019, 6:57 PM
Akash
Akash - avatar
- 2
Maybe this should work
14th Aug 2019, 6:57 PM
Akash
Akash - avatar