parriba
This commit is contained in:
@@ -1,9 +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;
|
||||
|
||||
select
|
||||
concat(month(t.fecha_inicio)," ",day(t.fecha_inicio)," ",l.nombre) as "name",
|
||||
t.id as id
|
||||
from curso_tienda as t
|
||||
inner join curso_lugar as l on t.lugar_id=l.id
|
||||
where t.estado=1
|
||||
order by t.fecha_inicio desc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user