If you haven't connected your database or data warehouse to Hightouch yet, start here:
SQL querying in Hightouch works by directly running the query on the underlying database or data warehouse, providing a simple interface to preview your data.
The SQL querying functionality can be accessed from the SQL Explorer page on the sidebar.
Any standard SQL query will work here, and your results will be shown below. Sorting, limits, etc. can all be done within the SQL query, it's the same as running it directly on the database.