I'm trying to pull some results from MySQL, and I'm hoping there is a way to do this...
I think I can use one of two of the cast functions, but not sure how to and/or in which order. Let's say that I have a list or listing results like this:
listing_building_size
27,000 rsf
9,360 sf
10,000 rsf
49,776 sf
218,232 rsf
Can I use a couple CAST functions to strip out the commas AND the rsf and sf at the end of each value? I'd like to get a result set like this:
listing_building_size
27000
9360
10000
49776
218232
Is this possible? We are using MySQL - 4.1.20 on this server.
Thanks,
Shaun