st: export and use of queried data table

New to STATA (Intercooled 9) and I am working with a huge ecological
dataset. My question for the community is where do I find the results table
from a query . For instance I ran the following command:

by animal_id month,
sort: tabulate on_trailsand I would like to generate graphs and continue to work with these data
set. Is this a read only data set? Am I only able to view results in the viewer
and export to textpad or word? I thought this would a
basic command common to all stats packages?