← equal operator page · comparison/equal/sc_sc/different_numbers
pandas ✅ · DuckDB ✅
SC_1 = SC_2 with SC_1 = 5 and SC_2 = 9: two different numbers.
Equal to, semantics for scalar operations: "5 = 9 gives: false".
SC_r = false, a Boolean: 5 and 9 are different numbers.
SC_r := SC_1 = SC_2;
| SC_1 | SC_2 |
|---|---|
| 5 | 9 |
{
"scalars": [
{"name": "SC_1", "type": "Integer"},
{"name": "SC_2", "type": "Integer"}
]
}
{
"scalars": [
{"name": "SC_r", "type": "Boolean", "value": false}
]
}