Mysql determines that multiple values are not 0

SELECT * FROM fs_info WHERE month = 2;
clipboard.png

judgment condition:
find the corresponding month, salary, commission and other information (the value in the red box). If the value is not 0, as long as one of the fields has a value, it will be displayed

.
Mar.05,2021

SELECT * FROM fs_info WHERE month=2 and 1+2+3+4+...+n>0;

SELECT * FROM fs_info WHERE month=2 and (a < > 0 OR b < > 0 OR c < > 0)

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-1b3634f-2b35b.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-1b3634f-2b35b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?