By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
SELECT SUBSTRING_INDEX('202500 135000', " ", 1) AS ExtractString;
SELECT SUBSTRING_INDEX('37500 25000', " ", 1) AS ExtractString;
ExtractString |
---|
202500 |
ExtractString |
---|
37500 |