Please ask sequelize how to write this sql.

select cost1,cost2, (cost1-cost2) as cost3 from money
_ .model.findAndCountAll ({.})

ask for advice. How to write the contents? This belongs to the calculation field! Thanks a lot!

Nov.17,2021
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-1e45d1b-442f0.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-1e45d1b-442f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?