Django

select_related

Follows single-valued relations (ForeignKey, OneToOne) with a SQL JOIN in the same query.

Why interviewers ask about it

Pair it with prefetch_related in your answer and say why they differ: a JOIN cannot express a multi-valued relation without row multiplication.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.