Created
September 5, 2019 22:19
-
-
Save parzibyte/35bc9b0d5ed5eed5f362531426f3cc53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select turnos.numero, profesionales.nombre from turnos | |
inner join profesionales | |
on turnos.id_profesional = profesionales.id | |
and turnos.id_profesional is not null | |
and turnos.estado = 'ATENDIENDO' | |
and turnos.fecha = ? | |
group by profesionales.id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment