Visual Studio Code SQL results dock to bottom
Go to View -> Toggle Editor Group Layout
I don't see that option on Windows though. But you can just flip the layout by pressing Alt + Shift + 0
Following works on Mac :
Go to Menu > View > Editor Layout > Flip Layout.