TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Subin Thomas
NA
4.9k
126k
how to not show columns having zero records in sql ?
Apr 26 2019 12:10 AM
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
Reply
Answers (
10
)
CTE Query(common-table-expressions)
identifying candidate keys