/* c#host localhost*/ /* c#database #dbdata */ /* c#user #dbdata_user */ /* c#password #dbdata_pass */ select "event" as "tag", id, lugar_id as "pid", curso_id as "cid", precio as "cost", promocion as "promo", promo_estado as "pen", day(fecha_inicio) as "dini", month(fecha_inicio) as "mini", year(fecha_inicio) as "yini", day(fecha_fin) as "dend", month(fecha_fin) as "mend", year(fecha_fin) as "yend", coalesce(imagen_chica,0) as "eimg", estado as "een" from evento where id= #ecourse ;