distinct c1, c2, c3 FROM my_table ◦ Count(Distinct x) -> Approx_distinct() • UNION: Prefer UNION ALL over UNION • ORDER BY: Avoid ORDER BY • GROUP BY: Reduce the number of GROUP BY columns • Joins: From the largest table to smaller tables ◦ Use distributed joins ◦ -- set session join_distribution_type = 'PARTITIONED' SELECT * FROM table_a, table_b WHERE table_a.id = table_b.id