API/CodeSamples/AllowComparativeArithmetic.md
... ...
@@ -54,7 +54,7 @@ End Class
54 54
55 55
Field "Quantity" compared to field "ExtendedPrice" with alias "Sales"
56 56
57
-![]()
57
+![](http://wiki.izenda.us/API/CodeSamples/AllowComparativeArithmetic/AllowComparativeArithmetic_lt.png)
58 58
59 59
Provided "Average" is selected, this will generate SQL like the following:
60 60
CASE WHEN ([dbo].[Invoices].[ExtendedPrice]<AVG(CAST([dbo].[Invoices].[Quantity] AS float))) THEN 1 ELSE 0 END AS 'Sales'