Answer the question
In order to leave comments, you need to log in
How to use regular expression in sql to get different column?
there is the following data:
order_number # это название столбца
apte/00132112 # это значение столбца
city.ru/000303211 # это значение столбца
vcity.ru/31231212 # это значение столбца
order_number # это название столбца
132112 #это значение столбца
303211 #это значение столбца
31231212 #это значение столбца
Answer the question
In order to leave comments, you need to log in
split(order_number, '/')[1] as order_number
But the solution that is written in the comments is better
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question