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


Laxmidhar SahooRank #383 · 6.6K reputationPosted Apr 25, 2019, 8:30 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 25, 2019, 10:33 PM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Apr 26, 2019, 6:41 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Apr 26, 2019, 8:02 PM EDT
Amit KumarRank #459 · 5.4K reputationPosted Apr 26, 2019, 10:52 PM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Apr 29, 2019, 8:27 PM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Apr 25, 2019, 8:32 PM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Apr 29, 2019, 8:03 PM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Apr 29, 2019, 9:06 PM EDT
Nirav GandhiRank #545 · 4.5K reputationPosted May 24, 2019, 6:35 AM EDT