php - Count non empty rows mysql
236
People are also looking for solutions to the problem: php - Openssl_pkcs7_sign(): error opening file
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.
Find the answer in similar questions on our website.
Answer
Solution:
If the rows are empty strings or null, the below should do it:
Answer
Solution:
Try this:
Replace column_name with the column which should not be empty
Answer
Solution:
The documentation of
explains:
If by "empty" you mean
NULL
thenCOUNT(naziv_operacije)
is all you need.Run this query to see how it works: