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: "A spokesman for the Lyon Group, producers of _Barney and Friends_, denied that Barney is an instrument of Satan." [the Advocate, spring 1994]
Leave a Reply