updatedb
This commit is contained in:
17
public/home/admin/event/json/qCourse.q
Executable file
17
public/home/admin/event/json/qCourse.q
Executable file
@@ -0,0 +1,17 @@
|
||||
|
||||
/* c#host localhost*/
|
||||
/* c#database #dbdata */
|
||||
/* c#user #dbdata_user */
|
||||
/* c#password #dbdata_pass */
|
||||
|
||||
|
||||
|
||||
select
|
||||
id as "cid",
|
||||
nombre as "cname",
|
||||
temario as "csubjects",
|
||||
servicios as "cservices"
|
||||
from curso
|
||||
where id= #course ;
|
||||
|
||||
|
||||
29
public/home/admin/event/json/qEvent.q
Executable file
29
public/home/admin/event/json/qEvent.q
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
/* 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 ;
|
||||
|
||||
|
||||
22
public/home/admin/event/json/qPlace.q
Executable file
22
public/home/admin/event/json/qPlace.q
Executable file
@@ -0,0 +1,22 @@
|
||||
/* c#host localhost*/
|
||||
/* c#database #dbdata */
|
||||
/* c#user #dbdata_user */
|
||||
/* c#password #dbdata_pass */
|
||||
|
||||
|
||||
|
||||
select
|
||||
id as "pid",
|
||||
nombre as "pname",
|
||||
direccion as "paddr",
|
||||
observacion as "pobs",
|
||||
municipio as "pto",
|
||||
federativa as "pst",
|
||||
pais as "pco",
|
||||
lat as "plat",
|
||||
lng as "plng",
|
||||
estado as "pen"
|
||||
from lugar
|
||||
where id= #course ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user