They're just two ways of asking the same question. I think that the former may be ever so slightly more formal, but the distinction's pretty mild.
However, the second sentence ends in a question mark. That's colloquial. In Japanese, questions are formally written with periods.