Good day,
I have a practical mysql question to which I can't find help online.
Let's say I have a simple array of values "apple, pear, onion, ananas, banana, coconuts"
and that I would like to use mysql dynamically to, for example, sort, count or group those values.
Is it possible to do something like
SELECT COUNT FROM ("apple", "pear", "onion", "ananas", "banana", "coconuts")
? (of course I tried this and other syntaxes already, to no avail)
Basically what I'm trying to understand if it's possible to avoid creating a table for such a 'simple' task and set of values.
Thanks.