fbc
462
9
Laravel

How do I get a count of how many columns are (or aren't) null in a query?

Posted 6 months ago by fbc

Basically I have a survey with 30 questions that creates a record in a database. Sometimes people forget they only answered 25% of the survey questions.

How do I get a count of how many columns where left 'null' in a query?

Please sign in or create an account to participate in this conversation.