# How do I use the mathematical symbol ≬ (U+226C, BETWEEN)?

I'm looking for neat symbols in query expressions, like "x≤3" instead of "x<=3" or "x .le. 3".

EDIT: My motivation: I have to deal with a very long list of SQL-like conditions, all squeezed into the scheme (variable, operator, value). I'd like to see this list in its most comprehensive and natural form. Replacing the verbose operators by common mathematical symbols is essential, easy to implement, and mostly trivial: = for "equals", ≤ for "le", ∍ for "contains", ... Reordering or changing the appearance of variable and value would definitively also help, but would be overkill and out of scope. My question here is just about the special symbol ≬ I've never seen before in my life.

In my attempt to simplify the clumsy expression

"x between [2, 4]" (meaning 2≤x≤4)

I've just found the promising Unicode symbol ≬, meaning between. This unknown symbol appears among the other well-known binary operators, but I don't know if it is appropriate in my context, and how to use it correctly. Is it acceptable, misleading, or even wrong to write:

"x≬[2, 4]" (meaning 2≤x≤4)

I'd be happy to use it, provided it at least resembles a valid mathematical notation.

Are there any better (more common) notations? My query language supports only lists, no intervals or sets. "x∊[2, 4]" currently means (x=2 ∨ x=4). As a compromise, I would change that into "x=[2, 4]" (ouch!) and then use "x∊[2, 4]" for 2≤x≤4. Any other ideas?

• $x\in[2,4]$ should mean $2\le x\le 4$; $x\in\{2,4\}$ should mean $x=2$ or $x=4$ – J. W. Tanner Feb 18 '20 at 21:02
• You seem to be asking about some particular query language, rather than common mathematical usage. If so, you'd be better at a website dealing with that language. – saulspatz Feb 18 '20 at 21:05
• @saulspatz No, I'm just curious about the usage of ≬, because I've never seen that symbol before. The query language is just an illustration, why and how I'd like to use it—provided, it's correct. – Ralph Feb 18 '20 at 21:19
• I have never ever seen that symbol used in mathematics and would not expect anybody to understand it without explanation. – Nate Eldredge Feb 18 '20 at 22:29
• @saulspatz This is a Unicode symbol, and is in the group of "mathematical symbols". Whatever it means, someone in the Unicode consortium must've thought that it is useful for something. (On the other hand, as of recently Unicode has expanded so much, adding symbols such as 🤑, 👽, 👅,👩‍🍳,🎅... - that maybe the real answer is "who cares" 😉.) – Stinking Bishop Feb 18 '20 at 22:39