Template:Resultlink

From Opasnet
Revision as of 07:24, 29 November 2008 by Jouni (talk | contribs)
Jump to navigation Jump to search

Show the newest result in Opasnet base

<sql-query display="0" name="Show the runs of this variable in Opasnet base"> SELECT Var_name, Var_title, Var_unit, Run.Run_id, Run_date, Run_who, Run_method FROM Variable , Run_list, Run WHERE Variable.var_name = "Op_en2239" AND Variable.var_id = Run_list.Var_id AND Run_list.Run_id = Run.Run_id GROUP BY Variable.var_id, Run.Run_id </sql-query>


USAGE:
This template creates a link to a variable in result database.
First parameter is number of samples.