How find the missing number in a sequence. (mysql)
#1

Hey Guys, I would want know if it's possible with a mysql sentence:

Example:

Код:
ID    |     Name

1           Petra
4           Custodio
How would can find missing number between 1 and 4?

That is to say 2, then 3, and then returns 5?
Reply


Messages In This Thread
How find the missing number in a sequence. (mysql) - by aoEXE - 05.02.2016, 04:33
Re: How find the missing number in a sequence. (mysql) - by Vince - 05.02.2016, 09:44
Re: How find the missing number in a sequence. (mysql) - by GangstaSunny - 05.02.2016, 10:13
Re: How find the missing number in a sequence. (mysql) - by PrO.GameR - 05.02.2016, 10:45

Forum Jump:


Users browsing this thread: 1 Guest(s)