hi,
i have the following table:
+------------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------------+-------------+------+-----+---------+----------------+
| IpAddressesID | int(11) | NO | PRI | NULL | auto_increment |
| PhysicalServerID | int(11) | NO | | NULL | |
| VmID | int(11) | NO | | NULL | |
| IpNetworkID | int(11) | NO | | NULL | |
| IpAddressDigit | varchar(45) | NO | | NULL | |
+------------------+-------------+------+-----+---------+----------------+
If I have into the table the following for IpAddressDigit:
row1 - 9
row2 - 10
row3 - 15
For the next select I want to have 11 as the next digit available not 16.
For now I import all data into php and do computations but It can be done by mysql.
thanks