Kaptain.
Telegram /
LinkedIn /
Email /
GIT /
RSS /
GPG /
Заказ печатных плат

№ 9046 В разделах:
Programming
Sysadmin
от June 17th, 2018,
В подшивках: MySQL
If you sort your IP field as usual it will be sorted like string, but you can use INET_ATON() function to represent IP address string as integers:
SELECT * FROM bot order by INET_ATON(ip) asc
Fortune cookie: "Men whose lives are doubtful want a strong government and a hot religion." [Elbert Hubbard]
Leave a Reply