<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nested Queries on Daniel's Tech Blog</title><link>https://tech.daniellbastos.com.br/tags/nested-queries/</link><description>Recent content in Nested Queries on Daniel's Tech Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 19 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tech.daniellbastos.com.br/tags/nested-queries/index.xml" rel="self" type="application/rss+xml"/><item><title>Access Path Selection in a Relational Database Management System - Chapters 6 and 7: Nested Queries</title><link>https://tech.daniellbastos.com.br/posts/chapter-6-nested-queries/</link><pubDate>Sun, 19 Apr 2026 00:00:00 +0000</pubDate><guid>https://tech.daniellbastos.com.br/posts/chapter-6-nested-queries/</guid><description>&lt;blockquote&gt;
&lt;p&gt;This post closes the study of &lt;a href="https://courses.cs.duke.edu/compsci516/cps216/spring03/papers/selinger-etal-1979.pdf"&gt;Access Path Selection in a Relational Database Management System (Selinger et al., 1979)&lt;/a&gt;, covering chapters 6 and 7. I used available internet resources and tools to go deeper on the examples and make the concepts more concrete.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="what-chapters-6-and-7-cover"&gt;What chapters 6 and 7 cover&lt;/h2&gt;
&lt;p&gt;Chapter 6 describes how the optimizer handles nested queries, which are queries that contain a subquery as a predicate operand. The chapter’s central distinction is whether the subquery references a column from the outer query. That single property determines how many times the subquery runs.&lt;/p&gt;</description></item></channel></rss>