queries:functions:if

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
queries:functions:if [2015/08/07 11:09]
193.201.122.126
queries:functions:if [2016/01/04 20:48] (current)
Line 16: Line 16:
  
 ===== Example Queries ===== ===== Example Queries =====
 +The following query shows the status of all experiments
 <code dql> <code dql>
 draw table  draw table 
 using name, if(running, '​Running',​ if(preview, '​Preview',​ '​Stopped'​)) as Status from @experiments using name, if(running, '​Running',​ if(preview, '​Preview',​ '​Stopped'​)) as Status from @experiments
 </​code>​ </​code>​