How do you not output table field if there are no values?
When you define a table field, it comes with one row by default. I'm not sure why this is. You can remove this row by clicking on the - icon: 

To filter out those rows in twig, try:

{% for row in entry.discography if row.releaseName %}