The second is correct. Basically,if it doesn't end with a question mark, it shouldn't use question word order. There are also the cases like 'Could you tell me where the station is?'. Here it is a question, but the first part is the question, not the second.