select address from $db.$table
where ascii(right(address, 1)) >= 48 and ascii(right(address, 1)) <= 57
Snippets of MySQL tips, solutions, examples, tutorials, and even benchmarks
select address from $db.$table
where ascii(right(address, 1)) >= 48 and ascii(right(address, 1)) <= 57