In questions, the word order subject-verbs-object is the same as in affirmative sentences. The only thing that’s different is that you usually have to put the auxiliary verb (or the main verb “be”) before the subject. Interrogatives are put at the beginning of the sentences:
|interrogative||auxiliary verb||subject||other verb(s)||indirect object||direct object||place||time|
|What||would||you||like to tell||me|
|Did||you||have||a party||in your flat||yesterday?|
You don’t use an auxiliary verb if you ask for the subject. In this case the interrogative simply takes the place of the subject.