Files
dojo/public/home/admin/event/qEprev.q
2018-07-19 03:45:46 -05:00

10 lines
258 B
Plaintext
Executable File

select
concat(day(e.fecha_inicio)," de ",m.nombre," ",l.nombre) as "name",
e.id as id
from evento as e
inner join lugar as l on e.lugar_id=l.id
inner join mes as m on month(e.fecha_inicio)=m.id
where e.estado=1
order by e.fecha_inicio desc;