Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT CONCAT (P.apellidos,' ',P.nombre, ' imparte ', COUNT(C.id_curso),' cursos') AS Info_profesores
- FROM profesores AS P,cursos AS C
- WHERE P.id_profe = C.id_profe
- GROUP BY P.id_profe
- ORDER BY P.apellidos
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement