Files
dojo/lib/Dojo/Model/Data/cal/q1Block.q
2019-03-12 19:20:30 -06:00

11 lines
246 B
Plaintext
Executable File

select distinct
concat(mes.nombre,' ',year(evento.fecha_inicio)) as text,
date_format(evento.fecha_inicio,'%Y%m') as id
from evento
inner join mes on month(evento.fecha_inicio)=mes.id
where evento.estado=1
order by evento.fecha_inicio
;