10
Answers

how to not show columns having zero records in sql ?

Subin Thomas

Subin Thomas

5y
2.4k
1
i have a table having more than 8 columns 
when i search users this 8 column appears some column has zero records in it so i dont want to show the column having zero value,
 
i want to show the clumn having records 
what logic is needed to put in sql to get such output 
 
 if anyone can help,
thanks in advance 
Answers (10)