The joke is a pun on the phrase 'straight answer'.  A straight answer means an honest answer with no spin or different take on it to change the meaning.  A curve ball is a ball that curves through the air as it is thrown.
A baseball pitcher asked if he had a good curve ball , but wanted a straight answer .