Answer the question
In order to leave comments, you need to log in
What is the easiest way to implement this SQL query?
Good evening,
there is a column containing phone numbers, you need to select a number knowing only a few digits. For example, find all numbers containing this mask: +7986 XXXXX 20.
SELECT* FROM numbers WHERE number LIKE '+7986 можно так реализовать ? 20';
Answer the question
In order to leave comments, you need to log in
It's all right?
SELECT * FROM `phones` WHERE `number` LIKE '+7986%20'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question