how to find a free slot in mysql?
#1

topic explains it all, i want to select a id not used by a column

say i have

Banid:

1
2
3
5
6
8

what am i looking for? a 4 or a 7, i want it to select either of them, then it will select another one after. then if no slots are free, it will select 9
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)