lundi 4 juillet 2016

Return boolean or 0/1 if rows in the columns are true


I have searched the net regarding this question but so far there are either no respone yet or it is not working

--------------------
formID | validation
2000   |   true
2000   |   false
2000   |   true

I want it to return true if all rows for that grouped (formID) are all true else it will return false. It can be both in literal or 0/1. I will be using the returned value in java

Similar to this question but for MYSQL

Return true if all column values are true


Aucun commentaire:

Enregistrer un commentaire