Using the Query editor to create and edit queries