I am trying to write a query in PHP SQL, which has to select from DB 1 the value of each repeating number, I can’t cope with it:
You need to select in id_num every 2 in a row with num. In num, the score is not always the same, but it does not matter. The main thing is that the score is always greater than 5. For example, in the numbers 5 you need to choose id_num = 3 to 7, you need id_num = 5 to 8, this is id_num = 34 and so on.
