Can an xray tell the difference between a herniated disc and a degenerative disc?

I mean the xray doesn't show cartilage or any of that just that one of the joints was closer than the others was all I saw.
Can an xray tell the difference between a herniated disc and a degenerative disc?
Post Opinion