This visual execution shows how Rails handles 'joins' and 'includes' in queries. 'joins' builds an INNER JOIN SQL query that returns only records with matching associations. 'includes' loads associations eagerly, either by LEFT OUTER JOIN or separate queries, to avoid extra database calls later. Filtering on associated tables with 'joins' narrows results, while 'includes' can preload data for efficient access. The execution table traces each step, showing SQL generated, query behavior, and results. Variable tracking shows how the query relation changes. Key moments clarify common confusions about filtering and preloading. The quiz tests understanding of SQL generated and behavior differences. The snapshot summarizes when to use each method for filtering or eager loading.