Update order-by.md

INTERPOLATE fix
This commit is contained in:
Yakov Olkhovskiy 2022-03-18 23:37:58 -04:00 committed by Yakov Olkhovskiy
parent f9ed659959
commit 5c8a77dade

View File

@ -518,7 +518,7 @@ Same query after applying `INTERPOLATE`:
``` sql
SELECT n, source, inter FROM (
SELECT toFloat32(number % 10) AS n, 'original' AS source, n as inter
SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter
FROM numbers(10) WHERE number % 3 = 1
) ORDER BY n WITH FILL FROM 0 TO 5.51 STEP 0.5 INTERPOLATE (inter AS inter + 1);
```