Answers for "get records in sql according to month name and count"

SQL
0

get records in sql according to month name and count

SELECT EXTRACT(month FROM dateofappointment) "Month", count(*)
FROM appointment
WHERE EXTRACT(YEAR FROM dateofappointment) = '2014'
GROUP BY EXTRACT(month FROM dateofappointment)
ORDER BY EXTRACT(month FROM dateofappointment);
Posted by: Guest on May-20-2020

Code answers related to "get records in sql according to month name and count"

Code answers related to "SQL"

Browse Popular Code Answers by Language