d0c51baf78a1a7fbf2dd049ce83929acf7bef96f
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 | + |
|
| 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' |