I would like to find instances where there are 2 or 3 digits in the "description".
The table is like
id | description
--- ------------
1 | This is 40cm long.
2 | The dog is black.
I think that this should be a simple query and would appreciate any help.
I have tried
SELECT id, description
FROM table
WHERE description LIKE '%[0-9]%' or description LIKE '%[0-9][0-9]%'
Which returns no result though I think it should return
id | description
--- ------------
1 | This is 40cm long.
Thank you