i am having a table with 8 column and following values
1 2 3 4 5 6 7 8
0 1 0 0 0 0 0 0
i need a query which will analyze the no of 1’s and 0s in the column and if no of 0 is
greater than 4 then it should print failed else pass,how can i do that? either by MYSQL or PHP?
i am having a table with 8 column and following values 1 2 3
Share
1 Answer