I can't seem to find a good way to match on an integer in SQLite without writing them all out, for example I'm looking to do something like this:
SELECT count(*)
FROM numbers
WHERE SUBSTR(numbers 1, 1) LIKE ':d'
But the above doesnt work and various versions of it either.
I can get it to work with:
SELECT count(*)
FROM numbers
WHERE SUBSTR(numbers 1, 1) IN ("1","2","3" [etc])
but this seems verbose.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…