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: Hear about... the loner who gave up his solitary vice for Lent? Except on Palm Sunday, of course.
Leave a Reply