Files
dojo/lib/Dojo/Model/Data/cal/q1Block.q

11 lines
246 B
Plaintext
Raw Normal View History

2018-07-13 19:06:08 -05:00
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
;