Malline:Tuloslinkki
{{#sql-query: SELECT Var.Ident, Var.Name, Var.Unit, Run.Ident, Inf.Begin, Inf.Who, Run.Name as Method FROM Obj as Var, Obj as Run, Res, Inf WHERE Var.Ident = "Op_fi1626" AND Var.id = Res.Obj_id_v AND Run.id = Res.Obj_id_r AND Run.id = Inf.id GROUP BY Var.id, Run.id |Runs}} | {{#sql-query: SELECT Var.Ident, Var.Name, Res.id, N, Inf.Begin, Mean, Var.Unit FROM Obj as Var, Obj as Run, Res, Inf WHERE Var.Ident = "Op_fi1626" AND Var.id = Res.Obj_id_v AND Run.id = Res.Obj_id_r AND Run.id = Inf.id GROUP BY Res.id ORDER BY Run.id DESC, Var.Ident |Means and samplesizes (N)}} | {{#sql-query: SELECT Var.Ident, Res.id, Res.Obj_id_r as Run, Sample, Result, Var.Unit FROM Obj as Var, Res, Sam WHERE Var.Ident = "Op_fi1626" AND Var.id = Res.Obj_id_v AND Res.id = Sam.Res_id ORDER BY Res.Obj_id_r, Var.Ident, Res.id |Full sample}}
USAGE:
This template creates a link to a variable in result database.
First parameter is number of samples.