Examples of using "何食べたの?" in a sentence and their german translations:
Was hast du gegessen?
Was isst du?
- Was hast du gegessen? - Was musstest du essen?