WHERE, JOIN, and ORDER BY clauses — not every column, and not defensively.WHERE clauses; if you genuinely need to, consider a functional/expression index instead.EXISTS over NOT IN for subqueries whose data could contain a NULL.EXPLAIN) rather than reasoning from the SQL text alone — real statistics on real data settle every debate in this reference.