I am trying to get the middle of a line. My table is as follows:
id machine model
1 lathe ISO-678-1567
I want to get a middle part, such as 678 for a car model.
Desred output:
id machine model midcode
1 lathe ISO-678-1567 678
I am currently doing the same with PHP codwe. But I think that it will be better to do Mysql in the query. Please help me how to do this?
user1264520
source
share