By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| sqlite_version() |
|---|
| 3.39.1 |
| 1.5 > '1' |
|---|
| 0 |
| 1.5 > '1.2' |
|---|
| 0 |
| 1.5 > ('1' + 0) |
|---|
| 1 |
| 1.5 > ('1.2' + 0) |
|---|
| 1 |
| typeof('1' + 0) |
|---|
| integer |
| typeof('1.2' + 0) |
|---|
| real |
| CAST(1.5 as numeric) + CAST(1.5 as numeric) > '1' |
|---|
| 0 |