/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT DISTINCT pt_services.service_bezeichnungen, pt_class_services.class_services_name, COUNT(*) AS total FROM service INNER JOIN pt_services ON service.id_pt_service = pt_services.id_pt_service INNER JOIN pt_class_services ON service.id_class_services = pt_class_services.id_class_services GROUP BY pt_services.id_pt_service, pt_class_services.id_class_services;