Try this
Run this on my data lake: SELECT * FROM samples.shop_orders WHERE region = 'north' AND units >= 4 ORDER BY order_date DESC LIMIT 5
In plain words
What is it?
Out of thousands of rows, you keep only the ones you care about.
How does it work?
WHERE keeps rows that match, ORDER BY sorts them and LIMIT stops after a number.
Good to know
Only 10 rows are shown unless you ask for all of them, even when more match.
Then try
Hide a column
Run this on my data lake: SELECT * EXCLUDE (customer_id) FROM samples.shop_orders QUALIFY row_number() OVER (PARTITION BY region ORDER BY amount DESC) = 1