A common SQL habit is to use SELECT * on a query, because it’s tedious to list all the columns you need. Plus, sometimes those columns may change over time, so why not just do things the easy way? But ...
PostgreSQL subqueries allow one SQL query to run inside another, making it possible to solve filtering, aggregation, comparison, and table based problems without writing separate queries. The lesson ...