Stap 1: Query openen