What's the difference between between and and > < in mysql?

What"s the difference between

mysql between and and > <

Mar.18,2022

between and contains boundaries such as between 1 and 4, that is, > = 1 < = 4, > < does not contain boundaries


, just two different forms of expression.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32b4c-2b682.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32b4c-2b682.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?