P
P
pro100nepro2019-05-15 20:12:32
SQL
pro100nepro, 2019-05-15 20:12:32

How to create such a request for deletion?

There is an xfields column.
Everything that comes after ||movie_id should be removed from it, including ||movie_id.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nozzy, 2019-05-15
@nozzy

SELECT SUBSTRING_INDEX('some-text||movie_id,bla-bla', '||movie_id', 1) AS xfields;

A
A person from Kazakhstan, 2017-05-07
@LenovoId

https://codepen.io/Geyan/pen/gWXorN there are of course a lot of shortcomings, but if you wish, they can be finalized

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question