34 lines
773 B
Plaintext
Executable File
34 lines
773 B
Plaintext
Executable File
|
|
select
|
|
t.id as tid,
|
|
c.nombre as nombre,
|
|
c.subnombre as subnombre,
|
|
c.descripcion as descripcion,
|
|
c.maestro as maestro,
|
|
c.imagen_a as cimga,
|
|
c.imagen_b as cimgb,
|
|
c.imagen_c as cimgc,
|
|
day(t.fecha_inicio) as dini,
|
|
month(t.fecha_inicio) as mini,
|
|
day(t.fecha_fin) as dfin,
|
|
month(t.fecha_fin) as mfin,
|
|
t.precio as precio,
|
|
t.promocion as promo,
|
|
t.promo_estado as promo_estado,
|
|
t.playera_estado as playera_estado,
|
|
t.cupo as cupo,
|
|
t.meses as meses,
|
|
t.descuento_contado as descuento,
|
|
t.descuento_contado_estado as desc_estado,
|
|
l.nombre as lnombre,
|
|
l.federativa as federativa,
|
|
l.pais as pais,
|
|
l.municipio as municipio
|
|
from curso_tienda as t
|
|
join curso as c on c.id = t.curso_id
|
|
join curso_lugar as l on l.id = t.lugar_id
|
|
|
|
where t.id=? and t.estado =1
|
|
;
|
|
|