The cleanest way is to give the reporting team a view and grant them read access to the view only. A view is a stored query, so it exposes the columns and the rows you choose and nothing else.
The base table stays out of reach. The reporting team cannot insert, update or delete, and they cannot see a column you did not put into the view. That matters most when the base table holds personal data or internal pricing that the reports do not need.
Here the view groups sales by month and region, which is the shape the reporting team asked for. Doing the arithmetic in the view keeps the same query out of every report and out of every spreadsheet that grew around it.
A view is not a stored result. The database expands it into the underlying query each time you run it, so the totals are computed on current data. Indexes on the base table still work, because the planner sees through the view.
On PostgreSQL or MySQL the permissions are then one grant away from done. The reporting account gets select on the view and nothing else. SQLite has no grant command, so the boundary has to come from the file layout or from a separate database file.
Two things to watch. A view that hides a column still lets the owner of the base table reach the data, so treat the view as a contract rather than a secret. And a view over a wide table with a slow filter can run slower than the report it replaced, so check the plan once the report is in daily use.
A good deal more than the short interview answer suggests. The statement arrives as text over a connection, and the work happens in stages.
First the engine parses the text and checks it against the catalog. Unknown columns, wrong argument counts and broken references are rejected here, before any data is touched.
Second comes the planner. The optimizer looks at the table statistics and works out the cheapest way to get the rows. It may pick an index, or a full scan, or a different order of joins, or push a filter down into a subquery. This is the part that explains why the same query is fast on one table and slow on another. The plan is only as good as the statistics it read.
Third the executor runs that plan and pulls rows through the buffer pool, which keeps hot pages in memory so the disk is read only when it must be.
Fourth, and usually invisible, the engine protects that read from other work on the same data. Most engines use either locks or multi-version concurrency control. With multi-version concurrency control, a reader sees a consistent snapshot taken at the start of the statement, and a writer creates a new row version instead of overwriting the old one. That is why a report keeps running while orders are being written.
Around all of this sits the transaction machinery. Isolation levels decide what a reader may see, durability decides whether a committed write survives a crash, and the write ahead log is what makes that second promise possible.
In the application, a pool of connections sits in front of everything. Opening a connection is expensive, so servers reuse a small set, and the pool also becomes the place where transaction boundaries and timeouts get decided.