Is there a way to write data to different sheets in a Google Sheet?

It looks like I can create a spreadsheet and write data to the first sheet, but what if I want to create a brand new spreadsheet, run a couple queries, and dump the results to specific sheets in there? Is there a way to do that?

@kabirh Have you tried setting up a sequence of queries? Each query lets you trigger another query after one finishes. What approaches have you tried so far?