I am trying to pull out records from a table in a way so that it'd pull out a record only when the field "title" starts with a specific letter or any number in general.
`title` LIKE 'a%' OR `title` LIKE 'A%'
it works, however, if I want to pull out all the records where the title starts with a number, I am having to do this:
`title` LIKE '0%' OR `title` LIKE '1%' OR `title` LIKE '2%' OR `title` LIKE '3%' OR `title` LIKE '4%' OR `title` LIKE '5%' OR `title` LIKE '6%' OR `title` LIKE '7%' OR `title` LIKE '8%' OR `title` LIKE '9%'
Is there any shorter way of doing this?
Thanks in advance 🙂