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

21 lines
681 B
Plaintext
Raw Normal View History

2018-07-13 19:06:08 -05:00
select
2020-01-15 23:42:58 -06:00
date_format(tienda_evento.fecha_inicio,'%Y%m') as bid,
tienda_evento.id as eeid,
2018-07-13 19:06:08 -05:00
concat(lugar.municipio,", ",lugar.federativa) as ciudad,
concat(lugar.nombre,". ") as lugar,
lugar.direccion as dir,
2020-01-15 23:42:58 -06:00
day(tienda_evento.fecha_inicio) as dini,
day(tienda_evento.fecha_fin) as dfin,
month(tienda_evento.fecha_inicio) as mini,
month(tienda_evento.fecha_fin) as mfin,
2018-07-13 19:06:08 -05:00
curso.nombre as nombre,
2020-01-15 23:42:58 -06:00
tienda_evento.imagen_chica as imagen_chica
from tienda_evento
inner join lugar on tienda_evento.lugar_id=lugar.id
inner join curso on tienda_evento.curso_id=curso.id
where tienda_evento.estado=1 and tienda_evento.estore=1
order by tienda_evento.fecha_inicio
2018-07-13 19:06:08 -05:00
;