- or download this
SELECT *
FROM tablename
WHERE key = 12345
ORDER BY version;
- or download this
SELECT *
FROM tablename
WHERE key LIKE '12345,%'
ORDER BY key;
- or download this
SELECT *
FROM tablename o
...
FROM tablename i
WHERE i.key = o.key
)
- or download this
SELECT *
FROM tablename
...
FROM tablename
WHERE key LIKE '$key,%'
)