Place the cursor over the frame above the lower query pane. The cursor changes to a double-pointed arrow.
Left-click on the frame and slide the arrow up or down to raise or lower the height of the lower pane.