11 lines
246 B
Plaintext
Executable File
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
|
|
;
|
|
|