revolucion
This commit is contained in:
9
lib/Dojo/Model/Data/admin/event/qEprev.q
Executable file
9
lib/Dojo/Model/Data/admin/event/qEprev.q
Executable file
@@ -0,0 +1,9 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user