Answers for "sum or 0 in mysql"

SQL
0

mysql where sum > 0

SELECT user.id, CONCAT(lastname, firstname), year, month, date FROM user
LEFT JOIN adoption ON user.id = adoption.adopter
GROUP BY user.id
HAVING SUM(CONCAT(year,month,date) = '2016618') = 0
Posted by: Guest on September-09-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language