I'm importing a database to DB Browser SQLite and need to execute SQL and cut a last words include '-' as in red circle for all rows under 'slug' in database.
Is there any command to do these?
Thanks
I'm importing a database to DB Browser SQLite and need to execute SQL and cut a last words include '-' as in red circle for all rows under 'slug' in database.
Is there any command to do these?
Thanks
In Short NO.
However, you could extract the last word, but it would be cumbersome assuming there are no further specific regard word, such as it's length.
It would probably be far more productive to design the database with it's intended use taken into consideration.
For example the following would extract the last word with the following assumptions/conditions/constraints :-
:-
For example if the input table were (data is different as I wasn't going to try copying from a screenshot, nor try to count to see if the last words were the same length):-
The result from the above would be :-