Answers for "mysql sum with if"

SQL
2

mysql sum with if

SELECT SUM(IF( `column` = 1, `column`, 0)) as total
Posted by: Guest on May-21-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language