This is handy and not very obvious, so I wanted to share.
Enter “select * from whatever”, and run it.
Click where I circled below, then do a CTRL+A, followed by CTRL+C.
You now have all column names in your clipboard. So remove the ‘*’ and paste them in.