Ero sivun ”Malline:Tuloslinkki” versioiden välillä
pEi muokkausyhteenvetoa |
(päivitetty uuteen kantarakenteeseen) |
||
Rivi 4: | Rivi 4: | ||
{{#sql-query: | {{#sql-query: | ||
SELECT Var.Ident, Var.Name, Var.Unit, Run.Ident, | SELECT Var.Ident, Var.Name, Var.Unit, Run.Ident, Objinfo.Begin, Objinfo.Who, Run.Name as Method | ||
FROM Obj as Var, Obj as Run, | FROM Obj as Var, Obj as Run, Cell, Objinfo | ||
WHERE Var.Ident = "Op_fi{{PAGEID}}" | WHERE Var.Ident = "Op_fi{{PAGEID}}" | ||
AND Var.id = | AND Var.id = Cell.Obj_id_v | ||
AND Run.id = | AND Run.id = Cell.Obj_id_r | ||
AND Run.id = | AND Run.id = Objinfo.id | ||
GROUP BY Var.id, Run.id | GROUP BY Var.id, Run.id | ||
|Ajot}} | | |Ajot}} | | ||
{{#sql-query: | {{#sql-query: | ||
SELECT Var.Ident, Var.Name, | SELECT Var.Ident, Var.Name, Cell.id, N, Objinfo.Begin, Mean, Var.Unit | ||
FROM Obj as Var, Obj as Run, | FROM Obj as Var, Obj as Run, Cell, Objinfo | ||
WHERE Var.Ident = "Op_fi{{PAGEID}}" | WHERE Var.Ident = "Op_fi{{PAGEID}}" | ||
AND Var.id = | AND Var.id = Cell.Obj_id_v | ||
AND Run.id = | AND Run.id = Cell.Obj_id_r | ||
AND Run.id = | AND Run.id = Objinfo.id | ||
GROUP BY | GROUP BY Cell.id ORDER BY Run.id DESC, Var.Ident | ||
ORDER BY Run.id DESC, Var.Ident | |||
|Keskiarvot ja otanta (N)}} | | |Keskiarvot ja otanta (N)}} | | ||
{{#sql-query: | {{#sql-query: | ||
SELECT Var.Ident, | SELECT Var.Ident, Cell.id, Cell.Obj_id_r as Run, Obs, Result, Var.Unit | ||
FROM Obj as Var, Res | FROM Obj as Var, Cell, Res | ||
WHERE Var.Ident = "Op_fi{{PAGEID}}" | WHERE Var.Ident = "Op_fi{{PAGEID}}" | ||
AND Var.id = | AND Var.id = Cell.Obj_id_v | ||
AND | AND Cell.id = Res.Cell_id | ||
ORDER BY | ORDER BY Cell.Obj_id_r, Var.Ident, Cell.id | ||
|Koko otanta}} | |Koko otanta}} | ||
Versio 25. maaliskuuta 2009 kello 11.50
{{#sql-query: SELECT Var.Ident, Var.Name, Var.Unit, Run.Ident, Objinfo.Begin, Objinfo.Who, Run.Name as Method FROM Obj as Var, Obj as Run, Cell, Objinfo WHERE Var.Ident = "Op_fi1626" AND Var.id = Cell.Obj_id_v AND Run.id = Cell.Obj_id_r AND Run.id = Objinfo.id GROUP BY Var.id, Run.id |Ajot}} | {{#sql-query: SELECT Var.Ident, Var.Name, Cell.id, N, Objinfo.Begin, Mean, Var.Unit FROM Obj as Var, Obj as Run, Cell, Objinfo WHERE Var.Ident = "Op_fi1626" AND Var.id = Cell.Obj_id_v AND Run.id = Cell.Obj_id_r AND Run.id = Objinfo.id GROUP BY Cell.id ORDER BY Run.id DESC, Var.Ident |Keskiarvot ja otanta (N)}} | {{#sql-query: SELECT Var.Ident, Cell.id, Cell.Obj_id_r as Run, Obs, Result, Var.Unit FROM Obj as Var, Cell, Res WHERE Var.Ident = "Op_fi1626" AND Var.id = Cell.Obj_id_v AND Cell.id = Res.Cell_id ORDER BY Cell.Obj_id_r, Var.Ident, Cell.id |Koko otanta}}
KÄYTTÖ:
Templaatti luo linkki-muotoisia hakuja Opasnet Baseen
Ensimmäinen parametri on haussa käytettävien samplejen lukumäärä.