I have a table that contains two columns ipStart and ipEnd
ipStart
ipEnd
These two fields contain a range of ip address. For example:
`ip
Try this
SELECT * FROM TABLE_NAME WHERE (INET_ATON("193.235.19.255") BETWEEN INET_ATON(ipStart) AND INET_ATON(ipEnd));