I have a questionnaire form which stores the values of the form and could be made available (if not completed) for completion at a later time. I want a mechanism which tracks the percentage of the form's completion. I thought about calculating the percentage of incomplete fields compared to the total number of fields of the table. I want something like this:
SELECT * FROM tbapplication t WHERE t.* IS NOT NULL
The above SQL does not work. My table has more than 100 fields so I believe including all the fields and checking if IS NULL for each one is not the right way. Any ideas?